LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 09-21-2004, 05:54 PM   #1
sstallion
LQ Newbie
 
Registered: Sep 2004
Location: South Australia
Posts: 3

Rep: Reputation: 0
Mounting UFS in RW mode


Hi,

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, 06:10 AM   #2
atanas
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:

lists.debian.org/debian-sparc/2003/12/msg00066.html
 
  


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


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration