Hi Dears, I am having trouble mounting a partition with UFS file system (FreeBSD), I am trying to build with the following commands: mount-r-t-o ufs ufstype = ufs2 / dev/hdb1 / part mount-r-t-o ufs ufstype = 44bsd / dev/hdb1 / part But appears the following error message: mount: wrong fs type, bad option, bad superblock on / dev/hdb1, missing codepage or other error In some cases useful info is found in syslog - try dmesg anybody have any idea? Thanks, -- Daniel Bruno http://danielbruno.argo.com.br danielbrunos at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20080930/77a4eb46/attachment-0001.html>
Daniel Bruno wrote:> Hi Dears, > > I am having trouble mounting a partition with UFS file system (FreeBSD), I > am trying to build with the following commands: >Does the driver exist? grep -i ufs /boot/config-`uname -r` also grep -i ufs /proc/filesystems It seems on CentOS 4.6 and 5.1 at least UFS support is not compiled into the kernel. Red Hat typically is pretty conservative with the options they use I can't imagine UFS being all that well tested under linux but I certainly could be wrong. You may be able to find a 3rd party kernel that has it or build the module(s) yourself. I recall last time I tried UFS(on a debian system) it only supported read-only access, which was of limited help(was trying to modify the config of a OpenBSD system that was installed on a CF card which was hanging on boot). nate
On Tue, 2008-09-30 at 17:05 -0400, Daniel Bruno wrote:> Hi Dears, > > I am having trouble mounting a partition with UFS file system > (FreeBSD), I am trying to build with the following commands: > > mount-r-t-o ufs ufstype = ufs2 / dev/hdb1 / part > mount-r-t-o ufs ufstype = 44bsd / dev/hdb1 / part > > But appears the following error message: > > mount: wrong fs type, bad option, bad superblock on / dev/hdb1, > missing codepage or other error > In some cases useful info is found in syslog - try > dmesg > > anybody have any idea?We need more information. However, presuming you are running 5.2, stock kernel, check config-2.6.18-92.1.13.el5 in the grub directory. UFS is not enabled. Maybe a plus kernel has it enabled or you can build a custom kernel.> <snip sig stuff>HTH -- Bill
On Tue, Sep 30, 2008 at 2:05 PM, Daniel Bruno <danielbrunos at gmail.com> wrote:> Hi Dears, >Hiya, sweetie.> I am having trouble mounting a partition with UFS file system (FreeBSD), I > am trying to build with the following commands: > > mount-r-t-o ufs ufstype = ufs2 / dev/hdb1 / part > mount-r-t-o ufs ufstype = 44bsd / dev/hdb1 / part >Is that actually how you typed in the command? Doesn't look right at all. Normally you put '-t type' together, /then/ -o options. Check man mount to see if that might be some of it.... mhr