Adding /sbin and /usr/sbin to everyone's path in F10
Karel Zak
kzak at redhat.com
Wed Apr 23 20:55:42 UTC 2008
On Wed, Apr 23, 2008 at 10:43:46AM -0500, Dennis Gilmore wrote:
> On Wednesday 23 April 2008, Tom "spot" Callaway wrote:
>
> [dennis at bratac gilmore]$ /sbin/parted /dev/sda print
> WARNING: You are not superuser. Watch out for permissions.
> Error: Error opening /dev/sda: Permission denied
>
> a standard install doesn't allow a user to use parted. ifconfig is probably
I don't think so. You can read partitions by fdisk or parted from a
disk image.
$ /sbin/fdisk -l disk.img
You must set cylinders.
You can do this from the extra functions menu.
Disk disk.img: 0 MB, 0 bytes
255 heads, 63 sectors/track, 0 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x31c00564
Device Boot Start End Blocks Id System
disk.img1 1 2 16033+ 83 Linux
disk.img2 3 4 16065 83 Linux
disk.img3 5 6 16065 83 Linux
Karel
--
Karel Zak <kzak at redhat.com>
More information about the fedora-devel-list
mailing list