Berkeley CSUA MOTD:Entry 32637
Berkeley CSUA MOTD
 
WIKI | FAQ | Tech FAQ
http://csua.com/feed/
2025/05/24 [General] UID:1000 Activity:popular
5/24    

2004/8/2-3 [Computer/SW/OS/Windows, Computer/HW/Drives] UID:32637 Activity:very high
8/2     I'd like to get a USB HDD enclosure and use it to backup data.  What's
        the best format for (1) reliability and (2) compatibility?  I'd like
        to use it store my music on and sync with my ipod, so it would have to
        work with iTunes, but I wouldn't want to use NTFS because that's not
        writable from FreeBSD.  MSDOS might be a decent least-common-denom,
        but that seems to waste a lot of space and have reliability problems
        (fragmentation etc).  Can windows mount/write a harddrive in the UFS
        (CD) format?  Am I overlooking a good format? tia.
           \_ Thanks for the suggestions- I was somewhat against ext2 for
              reliability concerns (unfounded?), and I guess I meant UDF
              (I thought it was Universal File System...)
              Do you happen to know if UDF (or iso9660) is modifiable at all?
              Most of this stuff is going to be read heavy / write light,
              so write performance isn't important.  More important is each
              OS being able to recognize a harddrive formatted to look like
              a CD/DVD.
                \_ IIRC, the problem with ISO9660 and UDF is that you need
                   to stick a fs image onto the drive. You can't add and
                   delete files later (well, mt. rainier can, but that
                   isn't widely supported outside of windows).
                   BTW, ext2 sux, but it is pretty much your only choice
                   if you want 255 char filenames and unix permissions.
                   If you are okay with 8.3 filenames, then msdos fs
                   might work for you, but I think that you will find that
                   the effective storage space on your drive will be much
                   smaller than with other file systems because of the way
                   that blocks are allocated.
                   Are you okay with using VPC/VMWare on your systems?
                   If so, you may be able to stick NTFS onto your drive
                   and then just use Windows running in the vm to access
                   your drive, share its contents. Then using smb mount
                   you can mount the drive under Linux/*BSD/MacOS X.
                   If you are willing to spend some cash you might want
                   to consider trying to go the hfs+ route. The following
                   urls might be of some help:
                   1) hfs+ kernel module for 2.4/2.6 linux kernel:
                        http://www.ardistech.com/hfsplus
                   2) Freebsd hfs+ kernel module (5.0 and newer):
                        http://people.freebsd.org/~yar/hfs
                   3) MacDisk for Windows:
                        http://www.macdisk.com/mden.php3
                   4) MacDrive for Windows:
                        http://www.mediafour.com/products/macdrive5
                   I haven't used any of these before (I've used the
                   old hfs linux driver in 2.0/2.1 kernel under x86
                   and ppc linux, but not the current one), so I don't
                   know how well this will work.
        \_ Try ext2. There are windows, freebsd and macos x drivers for
           ext2. CD's don't use UFS (Unix File System, aka FFS), they use
           ISO 9660 (w/ extensions). Perhaps you are thinking about UDF (DVD
           format)? AFAIK, UDF isn't designed for rw access, so it would be
           a bad idea for a hard drive.
           \_ ext2 rw support for Windows is very bad. I would be very careful
              about rw on ext2 under Windows if you want to keep your data
              intact for any period of time. Unfortunately I can't offer a
              good alternative that is cross platform because Windows support
              for 3rd party drivers is just the shits. You can (again) thank
              Mr. Gates for that one.
              \_ ext2 rw support linux is very bad too but people use it.
                 \_ Ha-ha, very witty. Now why don't you STFU and let the
                    adults talk. By "very bad" I mean that you can expect
                    data corruption everytime you access the disk. No,
                    not sometimes, no, not once every ten times, but
                    EVERYTIME you write to ext2 from Windows.
                    Thank you for playing.
                    \_ You can expect data corruption from ext2 everytime you
                       use it as well.  If you stopped playing with kiddie
                       boxes and put it in production, you'd find out real
                       fast what ext2 can do to data and you'd either learn
                       how to real fast how good your backups are or be
                       looking for a new job.  Thank *you* for playing.  I
                       enjoy 'winning' whatever that means on the motd.
2025/05/24 [General] UID:1000 Activity:popular
5/24    

You may also be interested in these entries...
2008/12/5-10 [Computer/SW/OS/OsX] UID:52174 Activity:kinda low
12/5    I suggest CSUA buy a Mac and run MacOS on it. Maybe run Linux in
        a VM, too. I think students will get more bang for their buck
        trying to run services on MacOS than with "Just Another Linux Box".
        \_ On what basis? We do have an AppleTV, which we've yet to hack
           so it runs full OS X, but as a OS X user myself, I don't see the
           OS being useful for useful services except if we get OS X server
	...
2007/7/17 [Computer/SW/Languages/C_Cplusplus] UID:47312 Activity:nil
7/13    CSUA Life Roster
1 point each for:                                               key:
                significant other (out of county rule applies)   G
                car (Chevy Novas do count)                       C
                housing (dorms DO NOT count)                     H
                own computer running reasonable multi-tasking OS U
	...
2007/4/13-16 [Computer/SW/WWW/Browsers] UID:46291 Activity:nil
4/13    I use IE7 to browse a web site, and the server says the UserAgent
        string is
        "UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.2; .NET
        CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30)"
        Is MS bowing to the Mozilla community?
        \_ What are you talking about?  IE has always reported its UserAgent
	...
2006/1/5-9 [Computer/SW/OS/Windows] UID:41250 Activity:nil
1/5     Heh.  Combining the power of Windows CE, Me and NT we have...
        Windows CEMeNT!
        http://photos1.blogger.com/blogger/5036/1165/1600/cement.0.jpg
        \_ That joke's--what--4? 5 years old?
           \_ thanks for posting; missed that 4 or 5 years ago.
	...
2005/6/27-28 [Computer/SW/OS/OsX] UID:38329 Activity:kinda low
6/27    For anyone who's owned a G5 running OS X (10.3 or 10.4), how often do
        you need to reboot if it's being used as a workstation?
        \_ Occasionally you will run into the Windows NT syndrome of the system
           needing a reboot for a system software patch - I'd say about once
           every couple of months on a stable release, and once or twice a
           month on a new one.  Other than that, I have never seen a piece of
	...
2005/6/2-3 [Computer/SW/Security] UID:37935 Activity:low
6/2     In the 'official' part of the motd it says ssh1 would be shut off,
        weeks ago no less, and yet it still seems to be on.  What up with that?
        \_ Whoever did the change neglected to restart sshd.  Fixed.  -jvarga
           \_ I just tried ssh from a Solaris machine to soda and I got "ssh:
              connect to host http://soda.csua.berkeley.edu port 22: Connection
              refused".  I tried both with and without the "-2" option.  Now if
	...
2004/9/24 [Computer/SW/Languages/Perl, Computer/SW/Unix] UID:33738 Activity:insanely high
9/24    I have a directory with a bunch of image files names DSCNxxxx.jpg.
        What's the quickest way to rename them all to Dscnxxxx.jpg? (just
        changing the capitalization of the first 4 letters).
        \_ foreach i (*.jpg)
           mv $i `echo $i | sed -e s/DSCN/Dscn/`
           end
	...
2004/7/13-14 [Computer/SW/WWW/Browsers] UID:32251 Activity:very high
7/12    In the news...
        "Continuing security problems have eroded Internet Explorer's
        popularity; the market share for Explorer has dropped by more than a
        percentage point from 95.48 percent to 94.42 percent..."
        Gee that's gotta hurt! Poor MS.
        \_ Although if you read a report that said non IE browsers have gained
	...
2003/8/29-2004/2/14 [Computer/Networking] UID:12259 Activity:nil
2/13    In NT or XP, is there a way to display the IP address of a remote
        machine when the remote machine is pinging my machine?  Thanks.
        \_ netstat?
              \- netstat is ridiculous for this. hammer. nail. bad. wrong.
                 i believe tcpdump runs on msftware:
                 tcpdump -i <if> 'icmp[0] = 8 or icmp[0] = 0'
	...
2003/12/15-16 [Computer/SW/OS/Windows] UID:11466 Activity:nil
12/15   My laptop doesn't have the "windows" key and I run WinXP. How can I
        lock the desktop quickly since I can't do WINKEY-L ?
        \_ Winkey = Ctrl-Esc
           \_ Not exactly.  You can't chord with ctrl-esc.
        \_ Ctl-Alt-Del, enter.
           \_ this is what I was gonna suggest. the real question is how
	...
2003/12/9-11 [Computer/SW/OS/FreeBSD, Computer/HW/Drives] UID:11387 Activity:nil
12/9    Can someone recommend a way to read the contents of a FreeBSD
        partition with UFS filesystems from a Windows box?  It's a laptop
        disk which won't boot properly by itself, FreeBSD doesn't like the
        USB case I've put it in very much, and I don't have a Mac handy. -John
        \_ You need an NT (I'm assumming you are running NT version of Windows)
           filesystem driver for UFS. Once that is installed you should be able
	...
2003/9/19-20 [Computer/SW/OS/Windows] UID:10261 Activity:nil
9/19    ATMs to run Windows:
        http://www.wired.com/news/technology/0,1282,60497,00.html
        \_ I just love the new BART terminals that run NT, and seem to
           be out of order 75% of the time...
           \_ Does anyone know what system they use for the New York Subway?
              It seems to work incredibly well.
	...
2007/11/12-16 [Computer/SW/OS/Linux, Computer/SW/Unix] UID:48623 Activity:nil
11/12   how do i make a fail safe magical backup for my debian box
        that i can quickly boot from if the box explodes?
        \_ keep a linux live boot cd around for just such an emergency
           \_ And learn about 'dd'
        \_ I was hoping there was something as slick as CCC, for unix.
           \_ You can first duplicate the disk offline with dd, then just
	...
2006/6/2-4 [Computer/HW/Drives] UID:43264 Activity:low
6/2     I own a 1999 Taurus. I would like to replace the OEM in-dash
        cassette deck with a CD player that won't cost more than say $120 and
        which will have a "detacheable face". How likely is my car to be broken
        into if I do it?
        \_ The likelihood of your fancy shmancy CD player getting stolen
           10-15 years ago would be the same as those expensive fancy shmancy
	...
2005/12/30-2006/1/4 [Computer/SW/OS/Windows] UID:41180 Activity:nil 65%like:41172
12/29   A friend's primary Windows 2000 hard disk got nuked, and her
        backup drive is missing data. I'm looking for any
        recommendations for data recovery software for FAT/NTFS
        (restoring deleted files or corrupted filesystems) or
        recommendations for data recovery services in SF?
        \_ Get an external USB drive enclosure.  You want something
	...
2005/12/27-30 [Computer/HW/Drives, Computer/SW/OS/Windows] UID:41151 Activity:nil
12/27   I'm trying to help out with my mother in law's computer problems. She
        has two Windows XP computers (one desktop, one tablet pc) that she was
        using for her job before she retired. The computers themselves are old
        and her workplace doesn't want them back but they are installed with
        all this corporate Novell stuff that I don't know anything about and
        her account on the computer has very restricted permissions (she can't
	...
2005/6/22-23 [Computer/SW/OS/OsX] UID:38251 Activity:high
6/22    When I burn an iso image using the "Disk Utility" in OS X (Tiger)
        and I then use readcd on a linux box to verify the md5sum of the
        burned cd, the md5sum of the CD doesn't match the md5sum of the
        origional iso file. Is OS X modifying the iso image before it
        burns it or something? Seems strange.
        \_ Does this match on any of your other burned-CDs vs. ISO files?
	...
2005/5/18-19 [Computer/SW/Apps/Media, Computer/HW/Drives] UID:37730 Activity:nil
5/17    My second data backup question. I am looking for a backup media I can
        take off-site. I'll repeat that we've found the failure rate backing up
        to CD unacceptable. She wants to go with an Iomega product but I was
        wondering if people have had good/bad experience with these,
        reliability-wise and if they have better suggestions. I have about
        $400 for this.
	...
2005/4/1-3 [Computer/HW/Laptop, Computer/HW/Drives] UID:37032 Activity:low
4/1     I'd like to play my favorite EA game on the laptop. However, I
        don't have a CD player for my laptop and I'm wondering if it
        is possible to mount the CD on my desktop and access it via
        wireless. I know that EA has really weird CD protection
        schemes, that's why I'm wondering if anyone has successfully
        done this. -ok thx
	...
2005/3/19-20 [Computer/HW/Drives, Computer/HW/CPU] UID:36772 Activity:high
3/19    Given the choice between a firewire and USB2.0 connection
        (between an external hard drive and my computer), which one is
        better and why? Thanks.
        \_ Firewire is faster and more robust for that application.  USB
           is more widely available if you'd ever want to move the disk to
           another machine.  -tom
	...
2005/2/23-24 [Computer/SW/Security] UID:36377 Activity:very high
2/23    Hi, my girlfriend's mom is in Taiwan.  Her computer stopped booting;
        it shows BIOS, but it won't show the WinXP screen.  So, it sounds like
        a virus (less likely, partial drive failure / OS corruption, but let's
        assume it's a virus).
        She is concerned about recovering her files.
        Normally if I were on-site I'd just pull out the drive, put it in an
	...
2005/2/3-5 [Computer/HW/Memory, Computer/HW/Drives] UID:36055 Activity:moderate
2/3     So, I'm really confused about this notion of computer science
        metrics where everything's kind of 2^n, but sometimes not. For
        example, if I have a 4 GIG hard drive, does that mean I have
        exactly 2^32 bytes of space? Does that translate to 4000000000
        bytes, or some number that's close to it? How about megahertz?
        Say I have a 2.5GHz computer, does it run at exactly 2500000
	...
2005/1/18-19 [Finance/Banking, Computer/HW/Drives] UID:35762 Activity:moderate
1/18    A bunch of CD-ROMS I have are corrupted. They're in a nice
        CaseLogic case, closed, stored in a temperate (70-85F), dry
        location. I have no idea why they're corrupted, but I know
        one thing-- they've been sitting close my Sharper Image Ionizer
        [plus UV mode turned on], for maybe 6 months. I'm suspecting
        that either the ions or the UV killed them, but is it actually
	...
Cache (232 bytes)
www.ardistech.com/hfsplus -> www.ardistech.com/hfsplus/
This driver now supports full read and write access and has a better perfomance. It also supports hard links and the resource fork is accessible via /rsrc. This is a beta release, it was intensively tested, but use at your own risk.
Cache (4682 bytes)
people.freebsd.org/~yar/hfs -> people.freebsd.org/~yar/hfs/
HFS and HFS Plus in FreeBSD Note on the Current Status of This Project I've been rather busy with finishing my PhD work and therefore unable to dedicate much time to this project. However, this will hopefully change as soon as I become a PhD :-) Among other things to do, the latest source from Apple, Panther or newer, is to be merged into this port. Introduction HFS stands for the Hierarchical File System. While the older one, HFS, may look rather limited today, HFS Plus includes most of the capabilities one can find in UFS or Berkeley FFS: long file names, hard and soft links, special nodes, owner and group information, access permissions. Additionally, both HFS and HFS Plus have a number of interesting features not found in UFS: * They support so called forks, that is, multiple segments of data associated with a single file. HFS supports as little as two forks per file, "data" and "resource." HFS Plus was designed to allow for numerous named forks. However, its current implementation limits this capability to the two aforementioned forks per file. An HFS Plus volume essentially consists of a small header and a set of B-trees. Apple has recently released the original HFS kernel and userland code (incl. as a part of Darwin, which created a nice opportunity to port it to FreeBSD. HFS and HFS Plus in FreeBSD may be of particular value to parties interested in sharing filesystem resources over a network from FreeBSD to MacOS, because there will be no need to emulate HFS-specific features unlike in the case of FFS backing store. Henceforth the term "HFS" will cover both HFS and HFS Plus unless explicitly specified otherwise. To avoid misreading, the old HFS format will be denoted as "plain HFS." The term "port" used throughout this document means only that the HFS code has been ported from Darwin to FreeBSD; This port should be considered highly experimental and therefore used with caution. Neither Apple nor the maintainer of this port will take responsibility for data loss or damage that might result from using this piece of software. version 03 2003-Aug-12: Updated with respect to recent changes in FreeBSD-CURRENT. If you follow -CURRENT actively, you'll need this version. It contains no other improvements over the previous one. version 03 patchlevel 1 2004-Feb-12: FreeBSD-CURRENT has changed enough to prevent earlier versions from building. This one will build successfully in FreeBSD 52-RELEASE or newer. Thanks to Zack Hobson, Nik Clayton, Brian Feldman, and Murata Shuuichirou for sending me relevant patches, and to all the people who kept reminding me about this project :-) Installation and Usage Prerequisites Your system should be at least as new as 50-RELEASE. To enable support of the MacOS disk format on architectures other that PowerPC, you will need to rebuild your kernel with the option GEOM_APPLE. This option is always enabled on the PowerPC architecture. In -CURRENT, it is also available as a loadable module called geom_apple since the 31st of May, 2003. The source code of mount must be installed at /usr/src/sbin/mount. gz # cd hfs-freebsd-xx # make # make install Using # mount -t hfs /dev/da0s3 /mnt Caveats The GEOM_APPLE module will allocate the first slice to the partition map itself since the latter is self-contained. The first of conventional partitions will appear at slice 2 That partition may contain drivers or auxiliary data instead of a disk volume; You may have to look at the beginning of a partition with hexdump to tell if it's an HFS volume: 'BD' or 'H+' signature must appear at offset 0x400. On the other hand, it's all right to try to mount an obscure partition as an HFS volume; Practical Applications Managing your iPod from FreeBSD If you have an iPod formatted for Mac, you can access its files from FreeBSD as well. Eirik Oeverby <ltning at anduin dot net> reports that it's possible to connect an iPod to a FreeBSD host through FireWire. Of course, you'll need to load the FireWire driver in advance. The entire disk of your iPod will be accessible as /dev/daX, where X is a number assigned to this new device upon plugging it. The GEOM_APPLE module will further split the disk into /dev/daXs1, a partition map partition (yes, it's self-contained); Beware of iPod firmware bugs silently eating the file system! Note that you'll need software to manage the iTunes database on your iPod, or else audio files uploaded won't show up in your iPod playlist. There's a number of open-source projects dedicated to that around. Please include the word "HFS" in the subject of your message for my convenience. If you're reporting a bug, please include as many relevant technical details as possible.
Cache (3309 bytes)
www.macdisk.com/mden.php3
Site Search by keywords MacDisk is an utility for reading, writing and formatting Apple Macintosh magnetic media on an IBM compatible PC, without any hardware modification of the computer and without any add-on. MacDisk is a 32-bit application and runs under all versions of Windows (XP included). Under XP, to manage USB and FireWire (IEEE 1394) drives, you have to use at least version 62 (preferably the current 65). Zip cartridges are supported (be it on SCSI bus, on USB bus, on IDE/ATAPI bus or on the parallel port). To read SCSI and SCSI-like drives, you should have at least version 457 (1008) of the ASPI manager. NTFS volumes (Windows NT and 2000) storing Macintosh files handled through SFM (Services For Macintosh). MacDisk is aimed at all users needing to exchange data files between the Macintosh and the PC. MacDisk is an indispensable tool for data exchanges between sibling applications that exist in both Macintosh and PC (Windows) versions, like MS-Word, MS-Excel, PageMaker, Quark Xpress as well as transfering compatible data formats (Ascii, graphical files). The latest version for Windows 95/98/ME and NT/2000/XP adds many new functions: it now supports all CD-ROM drives (SCSI, USB, IDE/ATAPI), all kinds of CD-ROMs (HFS, HFS+, hybrid, even multi-session ones). For an example, a 80-MB file is copied from the CD-ROM drive to the hard disk in less than a minute! More, the new interface offers an Explorer bar to navigate the Macintosh volume and a listview which allows to sort the items according to the name, to the type, to the data or resource length, to the creation/modification date and to the signature. This feature is very interesting, for an example if you get a floppy with both Word and Excel files. A sort according to the signature will allow you to copy selectively the Word files in a specific subfolder and the Excel files in another one. Likewise, if you do DTP, you'll be able to copy selectively the Tiff pictures, the EPS files and the layouts. Version 65 Preview Page on its new features and its new user interface (with numerous screen captures). MacDisk cannot read Apple Macintosh DD (400 KB or 800 KB) floppy disks. Apple chose to implement the GCR coding (Group Coded Recording) with a variable spindle speed to squeeze more data on the outer tracks of the medium. There are no software solutions to mimic that on the PC, and the existing hardware solutions become more and more of "historical nature" (Central Point Option Board DeLuxe, Apple external floppy drive connected to a MicroSolution controller). Macintosh signatures and adds a corresponding extension to the files copied from the Mac to the PC. Conversely, MacDisk gives a signature to the files copied on the Macintosh volume to make "double-clickable" icons. MacText, a little text converter aimed at some Macintosh text formats. Cross-Platform Compatibility Most big applications existing on both platforms open the files created on the other platform. This holds true also for Excel, PageMaker, Xpress and many others. The on-line order processing is done on a secured server (SSL) and offers all the security you want (in particular, your credit card information never travels on unsecured links). As soon as your credit card is charged, you can download the full version of the program.
Cache (252 bytes)
www.mediafour.com/products/macdrive5 -> www.mediafour.com/products/macdrive5/
MacDrive 5 is the best way to use Mac disks with Windows. MacDrive software makes Mac disks act like normal PC disks, so it's a great way to get files both from Macs to PCs and from PCs to Macs. MacDrive wins its awards for simplicity as well as power!