LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-12-2005, 03:07 PM   #1
pistachio
LQ Newbie
 
Registered: Jul 2005
Location: Barcelona, Spain
Distribution: Slackware 10.1
Posts: 18

Rep: Reputation: 0
ufs write in Kernels 2.6.x versus 2.4.x


I have been using the feature of mounting ufs filesystems RW (with the option ufstype=44bsd) for much time along in Kernels 2.4.x without problems.

But now, that Kernels 2.6.x offer additionally the new option ufstype=ufs2 (RO at the moment), I cannot anymore succeed in writing on the old ufs filesystem (ufstype=44bsd) that was so succesfull with the old Kernel 2.4.x (on spite of the warning of dangerous in the documentation).

With Kernel 2.6.11.2 and with the option ufstype=44bsd I am only able to read-write single files in the / directory. Nothing to do beyond any other directory.

Is this a known issue of the new Linux Kernels 2.6.x?

There is something wrong with UFS1 in FreeBSD 5.x?
 
Old 07-15-2005, 05:52 AM   #2
Michael Johnson
Member
 
Registered: Jul 2005
Location: Wagga Wagga, Australia
Posts: 262

Rep: Reputation: 30
The kernel documentation shows this. You may have found a bug.

USING UFS
=========

mount -t ufs -o ufstype=type_of_ufs device dir


UFS OPTIONS
===========

ufstype=type_of_ufs
UFS is a file system widely used in different operating systems.
The problem are differences among implementations. Features of
some implementations are undocumented, so its hard to recognize
type of ufs automatically. That's why user must specify type of
ufs manually by mount option ufstype. Possible values are:

old old format of ufs
default value, supported as read-only

44bsd used in FreeBSD, NetBSD, OpenBSD
supported as read-write

ufs2 used in FreeBSD 5.x
supported as read-only

5xbsd synonym for ufs2

sun used in SunOS (Solaris)
supported as read-write

sunx86 used in SunOS for Intel (Solarisx86)
supported as read-write

hp used in HP-UX
supported as read-only

nextstep
used in NextStep
supported as read-only

nextstep-cd
used for NextStep CDROMs (block_size == 2048)
supported as read-only

openstep
used in OpenStep
supported as read-only


POSSIBLE PROBLEMS
=================

There is still bug in reallocation of fragment, in file fs/ufs/balloc.c,
line 364. But it seems working on current buffer cache configuration.


BUG REPORTS
===========

Any ufs bug report you can send to daniel.pirkl@email.cz (do not send
partition tables bug reports.)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Read/write to UFS partition digitalhead Linux - General 3 01-24-2006 07:07 AM
Can't mount ufs filesystems ratman96 Linux - General 2 05-04-2005 01:34 PM
grub + ufs - how can I do it? Gsee *BSD 1 04-08-2005 09:07 AM
UFS-Implementations spinifeX *BSD 1 01-09-2005 01:01 AM
RH 8 kernels and their relation to 'stock' kernels psweetma Linux - Distributions 1 03-29-2003 11:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration