Date: Sat, 10 May 2008 08:06:06 -0300 From: Gonzalo Nemmi <gnemmi@gmail.com> To: freebsd-questions@freebsd.org Subject: Re: mounting linux partitions Message-ID: <200805100806.06105.gnemmi@gmail.com> In-Reply-To: <bbe9e35d0805091040v5e28231dlf8ff88ef50a5ec79@mail.gmail.com> References: <bbe9e35d0805091040v5e28231dlf8ff88ef50a5ec79@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Friday 09 May 2008 14:40:06 Isaac Mushinsky wrote: > Now I would like to mount ext3 partition from FreeBSD at least for reading, > or vice versa, UFS2 from linux for writing. With kernel option EXT2FS, I > can I mounted UFS2 paritions under Linux like this: [gonzalo@inferna ~]$ grep fbsd7 /etc/fstab /dev/sda9 /mnt/fbsd7 ufs ufstype=ufs2,user,auto,ro, 1 2 /dev/sda11 /mnt/fbsd7/var ufs ufstype=ufs2,user,auto,ro, 1 2 /dev/sda12 /mnt/fbsd7/tmp ufs ufstype=ufs2,user,auto,ro, 1 2 /dev/sda13 /mnt/fbsd7/usr ufs ufstype=ufs2,user,auto,ro, 1 2 [gonzalo@inferna ~]$ > $ mount -t etx2fs /dev/ad12s7 /linux > > but then if I do > > $ ls /linux > I get a 'Bad file descriptor' for directory /linux. e2fsprogs are > installed, and fsck.ext2 or fsck.ext3 think well of the partition. Also, df > seems to show it correctly, with size and free space. Same problem in here .. Same FS ... Using the same line ... I couldn't figure out a solution .. I either get a 'Bad file descriptor' for directory /linux' or $ ls /linux No such file or directory > I have FreeBSD 7.0 for amd64, Linux is 32-bit version. Also the partition > is 'extended', i.e. fdisk on FreeBSD shows a DOS partition, but linux's > fdisk shows a couple of ext3 partitions. However, /dev/ad12s7 does > correspond to the correct linux partition and, when mounted, df shows the > right size and utilization. FreeBSD 7.0 i386 and Linux i386 in here > Any advice how to share a partition between these 2 systems? I only want to > use linux to scan the film and store the pictures on disk, then boot into > FreeBSD where I spend most of my life as a user. I feel more comfortable > pulling from FreeBSD rather than pushing to it because (1) it is easier for > me to recompile FreeBSD kernel or install packages if necessary, and (2) I > would mind much less a corruption on the linux partition than on UFS; I can > simply reinstall the default installation for Linux, but FreeBSD has > important data and is finely tuned for me over the years. Same in here .. I've got all of my music on a ext3 partition and pdfs and pictures on another ext3 partition .. I only need to mount those two in order to get FreeBSD's Amarok access to my music collection. Any help will be greatly apprecciated .. Really -- Blessings Gonzalo Nemmi
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200805100806.06105.gnemmi>