Re: Where did updfstab go?

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

 



Michal Jaegermann wrote:

On Fri, Nov 05, 2004 at 10:53:32PM +0000, Douglas Furlong wrote:
I had a look at the fstab-sync --add option, but I don't know how to find the unique UDI's.

That is precisely why I asked for some examples in documenation.
Try 'lshal' (likely with some options).

  Michal

Okay, well I had a look at that, and I beleive I have found the device, but what do I do about this?

udi = '/org/freedesktop/Hal/devices/block_4183-9C1C'
 volume.mount_point = ''  (string)
 volume.policy.mount_option.noatime = true  (bool)
 volume.policy.mount_option.sync = true  (bool)
 volume.policy.mount_option.fscontext=system_u:object_r:removable_t =
true  (bool)
 volume.policy.desired_mount_point = 'SILVERSTICK'  (string)
 volume.policy.mount_filesystem = 'vfat'  (string)
 volume.policy.should_mount = true  (bool)
 info.udi = '/org/freedesktop/Hal/devices/block_4183-9C1C'  (string)
 volume.partition.msdos_part_table_type = 11  (0xb)  (int)
 volume.size = 261632000  (0xf983000)  (uint64)
 volume.block_size = 512  (0x200)  (int)
 volume.num_blocks = 511000  (0x7cc18)  (int)
 volume.partition.number = 1  (0x1)  (int)
 volume.is_partition = true  (bool)
 volume.is_mounted = false  (bool)
 volume.is_disc = false  (bool)
 volume.uuid = '4183-9C1C'  (string)
 volume.label = 'SILVERSTICK'  (string)
 volume.fsversion = 'FAT16'  (string)
 volume.fsusage = 'filesystem'  (string)
 volume.fstype = 'vfat'  (string)
 info.product = 'SILVERSTICK'  (string)
 block.storage_device = '/org/freedesktop/Hal/devices/block_8_0'
(string)
 block.minor = 1  (0x1)  (int)
 block.major = 8  (0x8)  (int)
 info.capabilities = 'block volume'  (string)
 info.category = 'volume'  (string)
 info.parent = '/org/freedesktop/Hal/devices/block_8_0'  (string)
 block.device = '/dev/sda1'  (string)
 block.is_volume = true  (bool)
 block.have_scanned = false  (bool)
 block.no_partitions = false  (bool)
 linux.sysfs_path_device = '/sys/block/sda/sda1'  (string)
 linux.sysfs_path = '/sys/block/sda/sda1'  (string)
 info.bus = 'block'  (string)

[root@slaney 90defaultpolicy]# fstab-sync -v --
add='/org/freedesktop/Hal/devices/block_4183-9C1C'
6799: mount_root='/media'
6799: use_managed=1
6799: managed primary='managed'
6799: managed secondary='kudzu'
6799: Line ended prematurely
6799: Could not parse data from '/etc/fstab'


[root@slaney 90defaultpolicy]# cat /etc/fstab # This file is edited by fstab-sync - see 'man fstab-sync' for details
/dev/VolGroup00/LogVol00 /                       ext3    defaults
1 1
LABEL=/boot             /boot                   ext3    defaults
1 2
none                    /dev/pts                devpts  gid=5,mode=620
0 0
none                    /dev/shm                tmpfs   defaults
0 0
none                    /proc                   proc    defaults
0 0
none                    /sys                    sysfs   defaults
0 0
/dev/VolGroup00/LogVol01 swap                    swap    defaults
0 0
/dev/VolGroup00/Movies  /media/Movies           ext3    rw,acl
1 2
/dev/VolGroup00/TV_Episodes     /media/TV_Episodes      ext3    rw,acl
1 2
/dev/VolGroup00/Music   /media/Music            ext3    rw,acl
1 2
/dev/VolGroup00/Music   /media/Software         ext3    rw,acl
1 2

# NFS Shares
corrig:/home            /home                   nfs
/dev/scd0               /media/cdrecorder       auto
pamconsole,fscontext=system_u:object_r:removable_t,ro,exec,noauto,managed 0 0
/dev/hdc                /media/cdrom            auto
pamconsole,fscontext=system_u:object_r:removable_t,ro,exec,noauto,managed 0 0
/dev/fd0                /media/floppy           auto
pamconsole,fscontext=system_u:object_r:removable_t,exec,noauto,managed 0
0



[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]