www.centos.org Forum Index CentOS 5 - General Support 250 GB USB drive (Fat 32) not mounting automatically
|
Bottom Previous Topic Next Topic |
| |
|
|
|---|
| Poster | Thread | Rated: 1 Votes |
|---|
|
Re: 250 GB USB drive (Fat 32) not mounting automatically | #2 |
|
|---|---|---|---|
|
Moderator
![]()
Joined: 2006/12/13
From Tidewater, Virginia, North America
Posts: 18773
|
mount -t vfat -o uid=UID,gid=GID,umask=003 /dev/sdX /mnt/ExtFat32
UID and GID are those of the desired user, X is the device letter a, b, c, ... Change the mount point as desired. Don't know why the automount is not working. I know I've seen the issue before, but the cobwebs are too thick tonight. |
||
|
_________________
Phil Recommended reading: FAQ & Readme first ; Search hint: google "your topic site:centos.org"; Smart Questions |
|||
Posted on: 2009/5/12 1:42
|
|||
|
Re: 250 GB USB drive (Fat 32) not mounting automatically | #3 |
|
|---|---|---|---|
|
Newbie
![]()
Joined: 2009/5/11
From
Posts: 2
|
The following worked:
mount -o uid=7461,gid=7461 /dev/sdf5 /mnt/disk/ for the user... I think the reason it doesn't get automounted is that there are two partitions on the drive: Disk /dev/sdf: 250.0 GB, 250059350016 bytes 255 heads, 63 sectors/track, 30401 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sdf1 1 30401 244196001 f W95 Ext'd (LBA) /dev/sdf5 1 30401 244195938 b W95 FAT32 when I plug it in to the usb port, hotplug and udev see it but try to mount /dev/sdf1 which is not the real partition. I wonder if there is a way to make a rule in /etc/udev/rules.d that would force it skip the W95 Ext'd (LBA) partition and mount the W95 FAT32 partition (sdf5) by default. ? In any event, your suggestion worked to mount it for the user. thanks! |
||
Posted on: 2009/5/12 19:36
|
|||
Top Previous Topic Next Topic |
|



Topic options
Print Topic
Threaded
Newest First
1 Votes
oxide23




You cannot start a new topic.
You can view topic.