[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: fstab and removable usb drives



Celejar wrote:

> On Mon, 27 Aug 2007 14:51:04 -0700 (PDT)
> Jeff D <fixedored@gmail.com> wrote:
> 
>> On Mon, 27 Aug 2007, Celejar wrote:
>> 
>> > Hi,
>> >
>> > I'm experimenting with fstab lines to streamline mounting my removable
>> > usb drives (flash and HDD).  I have tried 'UUID-xxxx', 'LABEL-xxxx',
>> > and '/dev/disk/by-label/xxxx', but with any of these the system refuses
>> > to boot without manual intervention when the drive isn't attached (I am
>> > told to hit <ctrl>-D and something about maintenance mode).  This
>> > occurs even when I set 'noauto'.  Am I missing something, or are such
>> > fstab lines really illegal for setups where the volume may not be
>> > attached at boot?
>> >
>> > Celejar
>> > --
>> 
>> Hm, noauto should skip it at boot.  On one of my laptops I have this:
>> /dev/disk/by-id/xxxxxx  /mnt/flash  vfat user,noauto 0 0
>> 
>> Boots up just fine..
> 
> Thanks; I don't know what could be different about my setup (I'm
> running uptodate Sid), but it doesn't work for me, as above.
> 
> Celejar
> --
> mailmin.sourceforge.net - remote access via secure (OpenPGP) email
> ssuds.sourceforge.net - A Simple Sudoku Solver and Generator

If the sixth field (fs_passno) is non-zero, fsck will attempt to check
the filesystem regardless of noauto... always failing on a not-plugged-in
usb device with the error message reported.

It is VERY early in the morning.  A lunar eclipse is just beginning.
Really sharpens up the mental processes.  I wish they'd schedule
these at a more reasonable hour!



Reply to: