I'd recommend doing an "updatedb" to update the database locate uses to
find files. (Its basicly a cached find on your root partition.)
Its possible that fdisk isnt installed anywhere, in which case you can
get it from
http://www.kernel.org/pub/linux/utils/util-linux
That package should include fdisk and cfdisk (which has a nicer ncurses
based interface). As for RedHat RPMs, I'm sure you can find an rpm of
util-linux somewhere.
On Mon, 2002-11-04 at 18:19, Clayton Stapleton wrote:
> Installation of Redhat 8.0 went easily. After finishing wanted to know what
> fstab
> would show and so got the following:
>
> [clay@localhost clay]$ cat /etc/fstab
> LABEL=/ / ext3 defaults 1 1
> none /dev/pts devpts gid=5,mode=620 0 0
> none /proc proc defaults 0 0
> none /dev/shm tmpfs defaults 0 0
> /dev/hda8 swap swap defaults 0 0
> /dev/cdrom /mnt/cdrom iso9660 noauto,owner,kudzu,ro
> 0 0
> /dev/cdrom1 /mnt/cdrom1 iso9660 noauto,owner,kudzu,ro
> 0 0
> /dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
>
> Since LABEL=/ does not specify a partition I ran fdisk to find out with the
> following result:
>
> [root@localhost clay]# fdisk /dev/hda
> bash: fdisk: command not found
> [root@localhost clay]# locate fdisk
> /usr/share/doc/util-linux-2.11r/README.fdisk
> /usr/share/doc/util-linux-2.11r/sfdisk.examples
> /usr/share/doc/rhl-ig-x86-en-8.0/s1-diskpartfdisk.html
> /usr/share/man/man8/fdisk.8.gz
> /usr/share/man/man8/sfdisk.8.gz
> /ussrcsbin/fdisk
> /ussrcsbin/sfdisk
> [root@localhost clay]# locate ussrcsbin
> /ussrcsbin
> /ussrcsbin/fdisk
>
> Since locate ussrcsbin produced the above I ran the following:
>
> [clay@localhost clay]$ ls /ussrcsbin
> ls: /ussrcsbin: No such file or directory
>
> Can anyone tell me why fdisk does not work and what is "/ussrcsbin"?
>
> TIA
> Clayton Stapleton
>
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
--
--Eric Andresen
ndiin@asu.edu