Greg Olszewski wrote:
>
> On Fri, Feb 25, 2000 at 07:04:54PM +0100, Christoph Hammann wrote:
> > Hi all,
> >
> > How does one mount *BSD slices from Linux? Let's say I want to mount
> > slice 2 on my FreeBSD partition, which is /dev/hda2. How do I denote the
> > slice? "mount -t ufs /dev/hda2 /mnt" alone didn't work.
> >
> > TIA!
> > Christoph
> > --
> Take a look at /usr/src/linux/Documentation/filesystems/ufs.txt
>
> It basically says that ufs has undocumented differences between implementations
> and that it is real hard to tell them apart, so you have to tell the kernel
> what ufs it is.
>
> You probably want
>
> mount -t ufs -o ufstype=44bsd /dev/hda2 /mnt
>
Thanks, Greg,
and sorry for not including more information (there was not much more, a
simple "mount" showed "/dev/hda2 on /mnt type ufs (rw)" after my first
try, but ls -la in /mnt didn't show a thing). Now that you showed me how
to specify the ufs subtype (didn't know there were so many), I can
successfully mount my FreeBSD root slice and see all dirs and files in
there. But how do I mount the other slices?
Bye, Christoph
--
#include<stdio.h> /* SigMask 0.3 (sig.c) 19990429 PUBLIC DOMAIN "Compile
Me" */
int main(c,v)char *v;{return !c?putchar(*v-1)&&main(0,v+ /* Tweaks
welcomed. */
1):main(0,"Disjtupqi!Ibnnboo!=dibnnbooAfyufso/voj.vmn/ef?\v\1");} /*
build: cc -o sig sig.c */
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs