Firewire and Linux? 318
aozilla asks: "I was just at Pricewatch, and I noticed that 80 gig firewire drives are available for only $200. My good old IBM Deskstar just crashed, so I'm in the market for a new hard drive, and I'd love to go with Firewire. External, hot-swappable and the ability to have more than 2 devices without significant slowdown are the main features I'd like on top of what I get from my IDE drives. I'd like to hear from those who have experience running firewire on Linux. How good is the driver support? Is hot-swappability really supported (just umount and unplug, plug and mount)? Are there any recommendations for PCI Firewire cards for Linux? How many drives can reasonably fit before power becomes an issue (I assume the less expensive drives obtain power from the port)? My main goals are capacity, cost, and convenience. Speed is not too much of an issue, and I'm more a fan of automated and explicit backups rather than RAID."
Firewire and Linux (Score:3, Informative)
Video Cameras (Score:3, Informative)
Probably hard to boot from (Score:4, Informative)
However, you may be able to use a Linux Boot Disk with the FireWire driver on it... it would take some work, but it may be possible.
Just a thought,
MadCow.
Re:Probably hard to boot from (Score:3, Informative)
Re:Probably hard to boot from (Score:5, Informative)
Re:Probably hard to boot from (Score:2)
Re:Probably hard to boot from (Score:2)
/Brian
Re:Probably hard to boot from (Score:2)
Re:Probably hard to boot from (Score:2)
- j
Mac boot firmware not custom at all. (Score:3, Interesting)
It's always been a complete mystery to me why PC vendors didn't implement OpenBoot, since it's inexpensive,open, and provides many of the functions that you currently need to buy expensive hardware dongles [realweasel.com] to get on PCs.
(Preemptive note to moderators: realweasel.com really is a hardware site.)
Re:Probably hard to boot from (Score:2, Insightful)
If he has IDE and Firewire components, and runs a modern OS, then he could do the same thing. Turn off the IDE controllers (perhaps just the one with the harddrive, not CDROM/DVD so he can boot from them). The firewire card's bios thus boots the drive, the OS detects the IDE components, and he's cool.
Re:Probably hard to boot from (Score:2)
I didn't include the "sub panic(arg){}", due to lack of sig space... didn't think it was necessary to get the point across.
q:]
a lot of info is available (Score:5, Informative)
-sam
Re:a lot of info is available (Score:5, Informative)
Re:a lot of info is available (Score:4, Informative)
Be sure to check whether it's a native drive before you buy. (Of course, if you don't mind, you can buy the enclosure seperately and just assemble your own.)
Re:a lot of info is available (Score:2)
Re:a lot of info is available (Score:2)
My experience: Not good (Score:5, Interesting)
In addition, unmounting/remounting only works sometimes. Often I have to unload the modules and reload them. Based on my experience, I would say mass-storage on firewire on Linux isn't ready for prime-time yet. YMMV.
Re:My experience: Not good (Score:4, Informative)
Re:My experience: Not good (Score:2)
Re:My experience: Not good (Score:3, Interesting)
it is VERY slow and KILLS the system when trying to use it for anything. This was in Windows.
I can't even imagine what the drivers would be like in Linux.
Re:My experience: Not good (Score:2, Funny)
Cheaper doesn't always mean what you think. (Score:2, Informative)
EPSON Scanners are supported (Score:3, Offtopic)
IEEE 1394 for Linux (Score:2, Redundant)
Ummmm....wait...... (Score:2)
I thought all firewire devices got there power from the bus not an external plug.
Re:Ummmm....wait...... (Score:2, Informative)
Re:Ummmm....wait...... (Score:4, Insightful)
Second, 1394 specifies both powered and unpowered connectors/cables. Powered is far more common. You'll see the unpowered connectors on cameras and Vaios. They're small and break off in the port.
Most devices use the powered connectors, even if they don't draw any juice. A wall-wart is always safer, since you may be sharing the power with other devices: good for recharging (iPod); bad for a reliable hard drive (but very convenient with a laptop..)
Re:Ummmm....wait...... (Score:2)
IEEE is not IBM; IEEE is the standards body (not really that, but let's just play along). just like IEEE 1284 is a standard for parallel printer cable interfaces.
It's a bunch of engineering geeks agreeing how the interface should work. apple is their own enhanced version, which they helped to create so it's their wont to do so.
don't forget i.Link! hahahaha
Re:Ummmm....wait...... (Score:1)
Re:Ummmm....wait...... (Score:3, Interesting)
Re:Ummmm....wait...... (Score:2)
Chris
How fast compared to ATA-100? (Score:3, Interesting)
Re:How fast compared to ATA-100? (Score:2)
Re:How fast compared to ATA-100? (Score:1, Flamebait)
Re:How fast compared to ATA-100? (Score:2, Informative)
Firewire doesn't really stack up to ide all that well in speed yet, but it certainly does beat the snot out of usb 1.x. USB 2.0 devices are starting to come out though...
Re:How fast compared to ATA-100? (Score:2, Informative)
Right, the good ole Bytes vs. Bits swapping. Firewire is 400 Mega-bits-per-second.
ATA-100 is 100 Mega-BYTES-per-second. E.g. twice as fast as Firewire.
In either case, you would be hard pressed to find a drive that is capable of media-transfer rates to fill the bandwidth available.
more of a drain on the CPU
Horseshit,- both use PCI devices that use Bus-Master DMA. Setting up an ATA interface to do a transfer is very simple and does NOT take a lot of CPU at all. I have no experience with Firewire drivers, but I'm guessing that it takes more to manage a Firewire controller.
Re:How fast compared to ATA-100? (Score:5, Informative)
Be careful with your bits and bytes:
Hence, Ultra 160 SCSI is faster than Ultra ATA/100, which is faster than IEEE 1394. Don't get me wrong -- I think 1394 is great, but don't throw out your ATA or SCSI interfaces quite yet.
Re:How fast compared to ATA-100? (Score:2, Informative)
Re:How fast compared to ATA-100? (Score:2, Informative)
SCSI (and I think IEEE 1394) can interleave their request/responses. Hence if you're getting a wodge from an IDE/ATA100 drive, you effectively jam it up (and this is also the only way to achieve the burst transfer). I am guessing that most OS's and drivers chunk up requests so that IDE appears to interleave things. Because of this, SCSI is faster on day-to-day useage even ignoring it's faster transfer rate. The same qualification goes for IEEE 1394 if I'm right.
Also, you should be aware that there isn't an ATA100 drive around that can actually put through 100MB/s, that's just the bus-speed, the 7200 drives get closest. However, you normally get 2HD's on one channel, i.e. sharing the 100MB/s bandwidth.. it all gets complex + messy.. similar problems to good old-fashioned networking.
That was all off topic, but my 2d is that IEEE 1394 is great.. watching my Sony camera stream video to an iMac in realtime was quite funky when you realise the implications
Some links:
As someone mentioned earlier, all important drivers: http://linux1394.sourceforge.net/ [sourceforge.net]
Grab your vids: http://www.schirmacher.de/arne/dvgrab/index_e.htm
more stuff, lots of links: http://www.coastweb.de/dv/ [coastweb.de]
Also, DVD-RW isn't the only option, many DVDplayers will play VCDs too (use only a CD-RW)
http://www.vcdhelp.com/ [vcdhelp.com]
hey ho.. moderate me for off topic
Re:How fast compared to ATA-100? (Score:2, Interesting)
It seems that USB 2.0 is a little more available than 1394b, but not by much. For example, Adaptec makes several different USB 2.0 hubs (see http://www.adaptec.com/worldwide/product/prodtechi ndex.html?cat=%2fTechnology%2fUSB&source=home [adaptec.com]). However, Adaptec doesn't sell any 1394b products yet.
(Yeah, I'm too lazy and ignorant to see what other manufacturers are doing... [grin])
Re:How fast compared to ATA-100? (Score:2)
400 mbs is only 400 millibits/sec.
Seriously it's largely irrelevant. The spindle speed upto about 10000 rpm drives can't max out an ATA66 cable never mind ATA100; and that assumes that the bottleneck is the hard-drive. Usually it is the processor.
Re:How fast compared to ATA-100? (Score:2)
The problem is the fundamental structure of IDE... one command to one device and wait for an answer before you talk to anything else. Modern IDE isn't quite as bad, but it still sucks in a very major way. (Note: modern IDE drives, aka ATAPI, are SCSI drives. It's just transported across an IDE bus which makes it suck horribly.)
Re:How fast compared to ATA-100? (Score:2)
Not sure if they work under Linux yet, but.. (Score:3, Interesting)
Re:Not sure if they work under Linux yet, but.. (Score:1)
Please correct me if I'm wrong, I read about this on some website and can't find it now.
Re:Not sure if they work under Linux yet, but.. (Score:3, Informative)
Re:Not sure if they work under Linux yet, but.. (Score:2)
It's not Linux, but... (Score:1, Informative)
http://www.opensource.apple.com/projects/darwin
External drive noise (Score:2, Informative)
Two things (Score:3, Interesting)
Power... (Score:5, Informative)
I personally feel most comfortable building my own FireWire drive by selecting a really good looking enclosure and using whatever drives I want. For example take a look at this site here in the UK, www.pc500.net who have the IceBox, available with drives as well if you'd rather not bugger about with it yourself (see http://www.pc500.net/~pc500/catbrowse.php?bid=112
Anyways, FireWire is a great thing for moving drives between different platforms, such as Mac & PC. However, there is a need for a single filing system which works easily across Linux, Mac, Windows, etc. This biggest problem is normally the Mac to be honest, it doesn't read others, and others can't read it, if you get what I mean.
(sorry for the plug to my work site
filesystem problems?! (Score:2, Informative)
Re:Power... (Score:5, Informative)
Re:Power... (Score:2)
Re:Power... (Score:3, Informative)
The MacOS filename limit under HFS is 31 characters IIRC. I suspect this no longer applies under OS X, with its native ufs support.
They'll probably add resource.frk files still, or perhaps .AppleDouble directories (which is what appear on my netatalk server).
However, they do support tons of disk formats natively.
And, BTW, what's more, you can mount HFS drives on Linux. :)
Correct the bad info (Score:2)
I've now had one of the 80G Maxtor drives since about April/May, and it's worked fine for me, moving files between a G3 portable, G4 desktop, win98 desktop, win2k desktop, and a winME desktop.
On the windows side, you have to go down to the lower right corner, and tell it to unmount the disk before you pull it. With the Mac, you just handle it as you would normally unmount a disk (drag to the trash).
Now, as for this 'doesn't read others' crap, let's look at the whole details -- As HFS uses two forks (data, resource), if you attempt to write a Mac file in anything other than 'raw data' mode, it'll create a directory 'resourcefolder' or something of that sort, and store the resource fork there. If you then use a non-mac to move the file, you'll lose the resource fork. This isn't an issue for many types of data files, as may have comments (like where a JPEG was downloaded from), or some minor save state information (BBEdit save state). This is an issue for applications, however. If you're going to need to move files around on the non-mac system, it's best to save them as some sort of an archive, or write 'em out to MacBinary.
There is, however, one additional issue. UNIX, DOS and Mac all use different line endings on text files. Normally, files are transfered between different systems using 'FTP', and you'd just force it to acsii mode to deal with this problem. If you're writing to a local disk, you'll have to know what line endings the recipient will need. WordPad (PC) or BBEdit (Mac) will handle foreign line endings. Not being a Linux user, I don't know if there are editors that handle this issue. [there's 'dos2unix' and the like, or you can just do some simple subsitutions on the file].
Macs for a damned long time even shipped with 'MacLink', a program which would let you convert different DOS/Mac/whatever files from different applications, so that you could open a Word5DOS file in WP3.5Mac without losing formatting. DataViz also makes a program for the PC, but well, PCs can't read Mac disks, like Macs can read PC disks, so I don't know how useful it'd be.
http://www.dataviz.com/products/conversionsplus/i
Personally, these days, I use my PCs, and my Solaris box at work more than my mac (until I need BBEdit), however, I'm surpised to see this sort of completely unsupported mac-bashing on a website that always bitches about the 'FUD' from Microsoft.
variing success, but mostly great (Score:2, Informative)
Already discussed stupid hd buses w/ ATA133 story (Score:2, Interesting)
Really.
I think firewire is cool as hell, but not for this application. It's got bandwidth galore, to move video data back and forth, but this doesn't translate to "bandwidth galore for storage". If you have a digital camcorder, I wholeheartedly recommend adding a pci 1384 card to your box. But it's not something that I think is well suited to hard drives.
Hot plugability is an issue? How many times will you actually use this? You don't sound like you're sharing it with 20 different pc's, for instance. And if you're an uptime freak, be careful plugging in the PCI card... it'll work, but I always power mine down first. If speed isn't an issue, what's wrong with IDE? Or even external scsi? A decent scsi card, and external drive are no more expensive than the 1384 drives I've seen. There are plenty of dumb/slow/external drive solutions, and in every case they're cheaper than firewire.
If you just want to use firewire, use it for what it's good at. Desktop video. You'll be happy, won't be wasting money, or posting stupid "Ask Slashdot" questions.
Re:Already discussed stupid hd buses w/ ATA133 sto (Score:2)
Re:Already discussed stupid hd buses w/ ATA133 sto (Score:2)
FireWire is *fantastic* for storage. It's much like scsi.
Why do you not think it's suitable for hard drives?
What's 'not suitable' about cheap, easy to use, hot pluggable 80 gig drives you can just stack up for extra storage on your desk at work? or at home?
Oh. You mean desktops.
Not good for desktops. But for laptops. Or portable storage.
You've never traded DivX with others? Moved huge numbers of mp3? CD just doesn't cut it.. but a firewire drive.. ahh.. that's the ticket.
Re:Already discussed stupid hd buses w/ ATA133 sto (Score:3, Insightful)
I think firewire is cool as hell, but not for this application. It's got bandwidth galore, to move video data back and forth, but this doesn't translate to "bandwidth galore for storage".
Why not? Are the seek times more? What are the practical problems with firewire vs. IDE?
Hot plugability is an issue? How many times will you actually use this?
Four times a day, Monday through Friday, at the very least. Sharing with 2 PCs... I'd also use it for backup purposes if it really worked well. Why bother with tape backups when I can spend $200 and back up 80 gigs?
If speed isn't an issue, what's wrong with IDE?
As I said, hot swappability, and the ability to add more than two devices without a significant speed detriment (and the ability to add more than 3 HDs at all, besides my CD-rom).
Another advantage is that I won't have to spend 2 hours installing the drives in my parents' computers when I give the old drives to them and buy new ones.
Or even external scsi? A decent scsi card, and external drive are no more expensive than the 1384 drives I've seen. There are plenty of dumb/slow/external drive solutions, and in every case they're cheaper than firewire.
My rough estimate would be $250x3 for 3 80 gig drives, plus $100 for the 1384 card. What hot swappable reasonably fast (no tape drives) solution do you know of for $850 for 240 gigs?
Re:Already discussed stupid hd buses w/ ATA133 sto (Score:2)
How about Ethernet over Firewire? (Score:1)
Does anybody know if there are any Ethernet or Wireless Ethernet interfaces for Firewire (like the network interfaces that are available for USB).
using a firewire HD for backups right now (Score:2, Informative)
The firewire code is quite stable for disk drive access.
I'm seeing about 6MBytes/s block writes to the drive. Not exactly ata100 but it beats the heck out of a tape drive.
I haven't tried hot-plugging, but it's easy enough to get your drive recognized using rescan-scsi-bus.
So the bottom line is that you could very easily set-up an automated back-up system using firewire.
Firewire Drive experience (Score:2, Interesting)
The other problem I've seen with firewire drives is that the seem t o stop showing up after awhile. Popping the case, most drives are set as master. By setting them to cable select they show up again. You can then set them back as master and they seem to work. I've seen this only on MacOS9/10.1, FWIW.
I'll be glad when they come out with 'native' firewire drives. Those should really fly.
firewire... (Score:2)
It worked fine except for the hotplugging. I could get that to work about half the time, and it seemed to be pickier than windows(drive powered up before plugging in for instance).
I've heard recent versions are much improved, but don't quote me on that.
Oxford 911 chip (Score:4, Informative)
All of the video editors out there who tried to capture video to external firewire drives that existed before the Oxford 911 chip was released can recall the torture endured with all the dropped frames.
The older firewire drives are still roaming around out there. especially on ebay. Buyer beware.
Stuff you might want to know about Maxtor firewire (Score:5, Informative)
2. If you have a Dell Inspirion 8x00 laptop for example, you need an extra cable to convert 6 pins to 4 pins (smaller connector) to fit in the laptop (had to buy it as an extra).
3. The transfer speed I got here (Dell inspiron 8000) was around 15-20MB/s read, and ~5-7MB/s write (pretty sustained)
on win2k pro.
4. It rocks for big dumb storage, but it sucks if you need fast access to your data, you'd be better off with a 48Gig drive with a 20gig partition with NTFS encryption on for most tasks, but then again, if you need the full 80 gig for some reason, it's the best choice for the money (and so much faster than crappy Usb 1.0). I formatted 2 partition (works from disk manager, doesn't need any extra software), 40 gig normal 40 gig with compression... NOW I have enough space.. and yes the hotswap feature works like a charm.
Remember: 1394/Firewire drives are FAKE (Score:2, Informative)
That means these drives are performance limited by the ATA interface. The best performance I've seen reported is about 90% of what the drive could do directly plugged in to an IDE cable.
I have found no analysis of how the other Firewire characteristics of these adapted drives hold up (low cpu usage, numerous drives, how robust when hot swapping).
There are native firewire CDRWs (Sony makes one I think) and firewire tape backup systems. But not hard drives. Seagate has been threatening to make one for a year or so, but where's the bits?
A few 1394 observations (Score:5, Informative)
Some Answers (Score:2, Informative)
Right this second (stock kernel 2.4.14), it sucks. It locks up my machines every time I try to load SBP-2. However, going to the sourceforge 1394 code and getting an older version from 6/1/1 allows me to mount my drive and use it just fine.
The Kernel guys seem to be focusing on cameras rather than on good SBP-2 support.
Is hot-swappability really supported (just umount and unplug, plug and mount)?
No. it only creates /dev/sd* devices when you load the module initially. There is some way to cause the kernel to go rescan for SCSI devices, and this is purported to work, however I have never done it.
Are there any recommendations for PCI Firewire cards for Linux?
Make sure the card supplies external power. Some crappy board manufactures don't supply power to the bus in an effort to reduce cost. This is bad bad bad. Aside from that, they are all basically the same. I recommend the Maxtor host adapter.
How many drives can reasonably fit before power becomes an issue (I assume the less expensive drives obtain power from the port)?
Actually, the only drives that run exlusively off power from the port are the 2.5 inch drives which are more expensive. The 3.5" drives require too much power to be powered exclusively through the bus.
Best case: Firewire can supply 45 watts (from the spec). Those 2.5" drives use about 7 watts.
Realistic: Only FireWire on Macintoshes supplies any kind of decent wattage: about 30. FireWire PCI cards with external power connectors only supply about 18 watts.
So: 2 bus powered drives on a PC, 4 on a mac, with 6 being the theoretical maximum.
External powered drives basically use no bus power so there's no limit there.
-David
ieee1394 works great for digital video equipment (Score:2, Informative)
This link [sourceforge.net] has an extensive list on ieee1394 interfaces and other hardware compatible with the Linux ieee1394 driver
Here's a link list to other 1394 and digital video related projects. [schirmacher.de]
The same website hosts the dvgrab [schirmacher.de] and Kino [schirmacher.de] applications. dvgrab is a command line utility which downloads from a digital video camcorder. Kino is a small non linear digital video editor application, can download and upload movies from and to camcorders.
The ieee1394 drivers are still considered experimental. I have good results using the version in the 2.4.12 driver, but I can't really recommend the Linux ieee1394 drivers for anything critical. Please read the IEEE 1394 Driver for Linux Homepage [sourceforge.net].
VAIO Laptops Unsupported :-( (Score:2, Informative)
Kinda klunky, to say the least...
Dabe
FIrewaire and Linux (Score:2, Informative)
I was testing his drive since I looking to upgrade the internal drive in my laptop and move the current drive to a small firewire enclosure. That way I get multiple drives when I need them.
I am very impressed with the 1394 code so far in the linux kernel.
Beware of Cheap Firewire Drives (Score:3, Informative)
dvbackup, firewire (Score:2, Interesting)
What happened with Device Bay? (Score:3, Informative)
The former Device Bay consortium home page, "www.device-bay.com", now links to something called "Euro-Teen Sluts".
cpu usage ide vs firewire (Score:2, Interesting)
Then he cancelled that and started another 6 cd burn to the firewire burners - cpu usage was 4%.
Apparently firewire like scsi use alot less cpu to do their job.
Re:Go with USB 2.0 (Score:4, Interesting)
I have one question for you, can you please point me to a web page with a USB hard drive that outperforms FireWire? Apple tax or not, FireWire kills USB 1.0 in performance AND reliability.
A serial bus used for products like mice and modems won't even touch the throughput on a FireWire drive. Try again!
-Pat
Re:Go with USB 2.0 (Score:2)
> FireWire drive.
While I agree with your opinion, you have to be careful with that statement. Both busses are serial, and both can be used for "mice and modems". The fact that there are no 1394 mice has more to do with the (lack of) availability of ultra-cheap chipsets than with its poor suitability for that task. In fact, if anything, USB should be commended for incorporating a low-speed mode that can be bit banged by micros, while still allowing high-speed devices on the same bus. The fact that USB 1.x was 12Mb has more to do with it being designed for a price point, rather than with inherent problems in the USB protocol or topology. I like both USB and Firewire, they're both very elegant technologies that are helping us eliminate the mess that was before. Just because their respective corporate parents are squabbling doesn't mean we as consumers shouldn't love both.
Re:Go with USB 2.0 (Score:2)
Apple Tax (Score:2)
Re:Go with USB 2.0 (Score:2)
Re:Go with USB 2.0 (Score:2, Informative)
This statement is full of shit! The only thing I get consistant from a USB CD burner is a BUFFER underrun! Wow now I have 100 coasters!
When I use a Firewire CD burner I plug it in the computer mounts it I burn a CD. I plug in a USB cd burner... reboot... Start burning a CD and 2 time out of 3 I get an error!
Hmm USB sure rocks if you like coasters!
Re:Why keep re-inventing SCSI? (Score:4, Informative)
Re:Why keep re-inventing SCSI? - its the cables (Score:5, Insightful)
At the physical level you get to trade a 50 or 68 pin connector and cable for a 6 or 4 pin connector and cable. The controller chips probably cost about the same in volume, maybe a couple of bucks different. A good SCSI cable (and don't mess with bad ones) is $50. A good firewire cable is $7.
There is your reason. A $300 disk is $350 with
SCSI and $308 with Firewire. (I added a dollar for the $0.50 license fee on the ports at each end of the cable.
Non-tangibles such as easy configuration, the ability to pile a dump truck load of disks on a single interface, and not becoming ensnared in a wriggling mass of cables are just nice bonuses.
(I have used SCSI for ages, but now prefer IEEE-1394 for my archival storage machines. I still use SCSI for my high reliability and high performance machines, but that is more a Linux driver issue than anything intrinsically IEEE-1394.)
Re:Why keep re-inventing SCSI? (Score:2)
There's a standard for SCSI over firewire: SCSI-SBP-2. Also Fibre Channel (SCSI-FCP) is hot-pluggable, no termination, no IDs to set, etc...
Re:Ipod (Score:2)
/Brian
Re:Ipod (Score:2)
/Brian
Re:FireWire CD-RWs under Linux? (Score:2)
However, your kernel will blow up if you use a stock kernel's 1394 driver to write CDs in "real" mode. Get the CVS code from the linux1394 project site and use either the current or "last stable" branch.
Re:Mobile Rack Firewire/USB drives? (Score:2)
Spending some karma to get this Score:0 post looked at. Mod the parent up.
Ob on topic section: The mobile racks are absolutely wonderful. I use them all the time to move drives around. One problem in addition to them not being hotswappable is that you have to change the master and slave setting by opening up the drawer if you need a different setting in the two different locations. Another reason it would be great to have a firewire mobile rack.
Raw Speed != the Fastest Overall (Score:2)
Re:How about USB 2.0? (Score:3, Interesting)
Re:freebsd support? (Score:2)
Re:freebsd support? (Score:2)
Firewire has some pretty handy server uses too. Think about it: hot-pluggable high-speed drives?
Firewire backup... mmm, yummy.
Re:How about USB drives? (Score:2)
Well, thanks for the attempt at helping, but you're kind of making my point.
I'm a total newbie, so:
1) I have no idea how to "load modules"
2)I have no idea what 'proc/partitions' is
3)I don't know how to 'just mount 'em or whatever'.
It is very disappointing that this kind of command line mumbo jumbo is still necessary when using a bleeding edge new distribution of Linux. Is it really programatically so difficult to check for available partitions and mount them automatically on startup?
I'm no technophobe, but it's this kind of nonsense that stops people from using Linux. Period.
Re:How about USB drives? (Score:2)
That doesn't mean advanced users wouldn't have access to the 'mount' command if they wanted. But no one has given me one good reason that Linux doesn't scan for and automount drives.
Are you saying that having to type a bunch of command line stuff just to use a drive that's already in the system is a GOOD thing?
Re:How about USB drives? (Score:2)
Windows seems to handle this 'problem' without incident.
Re:How about USB drives? (Score:2)
Probably by not locking the drive door, and throwing exceptions (think "signals") to any applications that try to read from the CD.
Actually, CD-ROMs are a poor example here, because they are read-only, so think about Zip disks, floppies, or DirectCDs. If you eject one at the wrong time under Windows, as under Unix, you will get filesystem corruption.
Windows seems to try and minimise this effect by disabling write caching to removable media. Certainly, some people would see this as an acceptible tradeoff - even Linus Torvalds has been known to advocate the position that "the floppy light should never go off while there is still cached write data".
However, architecture gets in the way. Windows comes from MS-DOS which was almost stateless -- not much caching anywhere, look for a drive where you think "A:" should be, and if it's there you can use it. Unix has more of a high-availability heritage; thus the concept of formally mounting a filesystem rather than just seeing what's happens to be in the drive right now.
If you really want a Windows-esque way to handle floppies (and other removables) there are two approaches: (a) use a user-space filesystem layer that uses block devices to emulate / replace the kernel-level filesystem. This is done by the mtools package, and (I think) by "desktop projects" that feel users will be uncomfortable with mounting - cf. KIO and the GNOME VFS. (b) Use supermount, a Linux kernel patch implementing a filesystem shim layer, written back in the 2.0 days and since ported reluctantly to 2.2 and 2.4. Supermount works by being absurdly forgiving in the face of users ejecting and inserting things without permission, while still retaining an element of at least read caching. Read the patch sometime (or just the design notes) to see how awkward this was to accomplish.