On Tue, 2009-03-17 at 17:06 -1000, David Cantrell wrote: > This is required for 'mount -t TYPE SOURCE MOUNTPOINT' to work. > NTFS is supported through fuse, so we don't have it listed in > /proc/filesystems, but if /sbin/mount.ntfs exists, then we can > mount ntfs like any other filesystem. > --- > scripts/mk-images | 11 +++++++++-- > 1 files changed, 9 insertions(+), 2 deletions(-) > > diff --git a/scripts/mk-images b/scripts/mk-images > index d4cac46..34a276a 100755 > --- a/scripts/mk-images > +++ b/scripts/mk-images > @@ -598,9 +598,16 @@ makeinitrd() { > install -m 644 $IMGPATH/etc/nsswitch.conf $MBD_DIR/etc/nsswitch.conf > > instbin $IMGPATH /usr/bin/mount $MBD_DIR /sbin/mount > - instbin $IMGPATH /usr/sbin/mount.nfs $MBD_DIR /sbin/mount.nfs > + for mountcmd in $IMGPATH/usr/sbin/mount.* ; do > + cmd="$(basename $mountcmd)" > + instbin $IMGPATH /usr/sbin/$cmd $MBD_DIR /sbin/$cmd > + done > + instbin $IMGPATH / What's this extra instbin call doing here? > instbin $IMGPATH /usr/bin/umount $MBD_DIR /sbin/umount > - ln -s mount.nfs $MBD_DIR/sbin/umount.nfs > + for umountcmd in $IMGPATH/usr/sbin/umount.* ; do > + cmd="$(basename $umountcmd)" > + instbin $IMGPATH /usr/sbin/$cmd $MBD_DIR /sbin/$cmd > + done > > instbin $IMGPATH /usr/sbin/udevd $MBD_DIR /sbin/udevd > instbin $IMGPATH /usr/sbin/udevadm $MBD_DIR /sbin/udevadm -- Jesse Keating Fedora -- Freedom² is a feature! identi.ca: http://identi.ca/jkeating
Attachment:
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list