Re: mtab SNAFU

2007-11-27 Thread Haines Brown
> > Interesting. I see the logic by looking at /dev/disk/by-id, and it > > looks simple. But I am a bit nervous about experimenting. Can you > > refer me to a HOWTO, or do I have to play around to see if I can get > > it to work? It seems this use of by-id is actually part of udev. > > It's quite

Re: mtab SNAFU

2007-11-27 Thread Dominique Dumont
Haines Brown <[EMAIL PROTECTED]> writes: > Thanks for your reply. Yes, I sometimes run into trouble by having too > many different USB drives to mount. I got the impression that > configuring udev was the answer, but I was intimidated by the coding > necessary to do it. disk/by-id is now provided

Re: mtab SNAFU

2007-11-27 Thread Haines Brown
Dominique, Thanks for your reply. Yes, I sometimes run into trouble by having too many different USB drives to mount. I got the impression that configuring udev was the answer, but I was intimidated by the coding necessary to do it. > On my side, to be sure that a usb-device is always mounted on

Re: mtab SNAFU

2007-11-27 Thread Dominique Dumont
Haines Brown <[EMAIL PROTECTED]> writes: > I'm running a stock etch kernel. For whatever it's worth, the line in > /etc/fstab for usb-key is: > > /dev/sdd1 /media/usb-key vfat rw,user,noauto0 0 This setup is fine if you have only one usb-drive. On my side, to be sure that a usb-device

Re: mtab SNAFU

2007-11-25 Thread Haines Brown
"David Fox" <[EMAIL PROTECTED]> writes: > On 25 Nov 2007 10:59:25 -0500, Haines Brown <[EMAIL PROTECTED]> wrote: > > > desperation I deleted the multiple instances from /etc/mtab. I > > should have consulted first, but didn't want to be pain. ... > Yes, that's correct. Filesystems are mounted per

Re: mtab SNAFU

2007-11-25 Thread David Fox
On 25 Nov 2007 10:59:25 -0500, Haines Brown <[EMAIL PROTECTED]> wrote: > desperation I deleted the multiple instances from /etc/mtab. I should > have consulted first, but didn't want to be pain. That might have been the first problem. /etc/mtab is a dynamically-created file - it is a file of all

mtab SNAFU

2007-11-25 Thread Haines Brown
I had a problem of multiple mountings of /media/usb-key, and I was struggling without success to umount them. (tried -f option for umount, tried to find mount PID to delete it, tried fuser), and in desperation I deleted the multiple instances from /etc/mtab. I should have consulted first, but didn'