Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - General
User Name
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.


  Search this Thread
Old 09-21-2004, 06:54 PM   #1
LQ Newbie
Registered: Sep 2004
Location: South Australia
Posts: 3

Rep: Reputation: 0
Mounting UFS in RW mode


I have a Linux workstation with red hat 9 installed. On this workstation I have internal SCSI Magnetic Optical drive. I need to be able to read and write to these MO disks in UFS format. I have recompiled me kernel to use the "UFS filesystem write support (DANGEROUS)" from make menuconfig.

I know I can read and write to the drive because I can insert a MO disk formatted as FAT run this command.

mount /dev/sda -t vfat /mnt/mo

then I can read and write to the disk. But when I insert a disk formatted as UFS and run any of these commands

mount /dev/sda - t ufs /mnt/mo

mount /dev/sda -o rw- t ufs /mnt/mo

Then I try to create a directory I get an error "mkdir: cannot create directory 'test': Read-only file system"

Is there a way to force the drive to mount in read-write mode?

Can I use the mount command differently to get the drive in read-write mode?

Any help will be greatly appreciated.
Old 01-24-2006, 07:10 AM   #2
LQ Newbie
Registered: Oct 2005
Posts: 5

Rep: Reputation: 0
Enabling UFS write access in Linux

If you have already mounted the UFS partition (mount -w -t ufs -o ufstype=sun /dev/hda7 /sol10) but you cannot write to it (and you have enabled write access in the kernel), you need to remount it:

mount -t ufs -o remount,rw /dev/hda7 /sol10

This should enable write access to the UFS partition. I found this here:


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
mounting a UFS partition in linux newpenguin *BSD 5 02-22-2006 08:56 AM
Mounting Solaris UFS volumes under Linux? ldieter Linux - General 1 02-20-2005 09:19 AM
Mounting CD/DVD in rw mode pdug Linux - General 1 04-06-2004 12:41 AM
Mounting root filesystem in read only mode. Ocran Linux - Software 3 07-01-2002 01:38 AM
Problem with mounting a hd in rescue mode maxwell Linux - General 7 07-16-2001 06:12 PM > Forums > Linux Forums > Linux - General

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

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