l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
April 7: Social gathering
Next Installfest:
Latest News:
Mar. 17: DavisGIG: municipal fiber for Davis
Page last updated:
2009 Feb 20 11:01

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] Help with USB Hard drive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] Help with USB Hard drive

To add to what Ken said, if you're using udev, you should be able to get a stable device identifier by looking in /dev/disk/by-id.  Usually the name there is informative enough to just figure it directly.  Recent Fedora and Ubuntu distros have this facility.  You can then use /dev/disk/by-id/xxxx in /etc/fstab as Ken suggested.


On Fri, Feb 20, 2009 at 11:03 AM, Chanoch (Ken) Bloom <kbloom@gmail.com> wrote:
On Fri, 2009-02-20 at 11:49 -0500, ALLO (Alfredo Lopez De Leon) wrote:
> Hi,
> Thank you very much for all your answers.  After testing some of your
> suggestions I "discovered" that It is after all a USB drive and as
> root I have to umount it before logging out so the other users can
> mount it and use it...
> Too bad USB drives do not behave like "real attached drives".  Well.
> Like the Rolling Stones would say: You can't always get what you want.
> Have a nice one!
> Alfredo

That's an assumption the operating system makes because most USB drives
are thumb drives and the like, single-user disks that come and go. You
can change that, though.

Create a rule to identify the device uniquely in udev and to assign it a
permenant device node (I can't tell you exactly how to do this, it will
depend on being able to find something like a serial number that udev
can use to identify it.), then add that device node to /etc/fstab, with
appropriate mount options.

Just out of curiousity, what's the block size (the size occupied by a 1
byte file) on a 1 TB fat32 drive?


Ken (Chanoch) Bloom. PhD candidate. Linguistic Cognition Laboratory.
Department of Computer Science. Illinois Institute of Technology.

vox-tech mailing list

vox-tech mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
Appahost Applications
For a significant contribution towards our projector, and a generous donation to allow us to continue meeting at the Davis Library.