LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-07-2012, 06:43 AM   #1
dann_radkov
Member
 
Registered: Sep 2011
Posts: 52

Rep: Reputation: Disabled
Can a mounted FS be edited and afterwards unmounted ?


Hey Folks,
I have mounted an ISO file under my test dir /var/tmp/test. ISO file is now presented as a FS with various folders. I want to make changes to 1 of its files via VI. I know what changes to make and how.I will save the file.After this should i do a mkisofs of the modified directory ?
Or simply unmounting it would be sufficient.
I have mounted the ISO without any options.Plain:
mount /somedir/somewhere/.iso /var/tmp/test and I am root.
Please advise.
 
Old 03-07-2012, 10:11 AM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 11,239

Rep: Reputation: 2671Reputation: 2671Reputation: 2671Reputation: 2671Reputation: 2671Reputation: 2671Reputation: 2671Reputation: 2671Reputation: 2671Reputation: 2671Reputation: 2671
It's not a matter or being root, isofilesystems are read-only and you will likely get an error to that effect if you try to save the file. I think there may be an option for rw when you mount but I've not tried that. I usually just copy the mounted directory to my /home/user directory, make the changes and use mkisofs to create a new iso.

Quote:
Or simply unmounting it would be sufficient.
I believe you would need to generate a new iso file.

Last edited by yancek; 03-07-2012 at 10:12 AM.
 
1 members found this post helpful.
Old 03-07-2012, 10:42 AM   #3
dann_radkov
Member
 
Registered: Sep 2011
Posts: 52

Original Poster
Rep: Reputation: Disabled
Correct.Thanks yancek!
ISO files show up as 100% full. Nothing can be written.
If you like to create a new iso the process is via mkiso.
If you want it to be bootable iso please check here
http://www.syslinux.org/wiki/index.php/ISOLINUX
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
edited out vharishankar General 3 12-01-2011 04:35 PM
HAL daemon does not reconize a mounted partition as mounted 888m Slackware 4 07-30-2007 01:58 PM
playing DVD, CD and mounted & unmounted drive Q. brjoon1021 Linux - Newbie 0 07-25-2006 10:51 AM
edited logrotation cyberpunx Linux - Software 0 09-06-2005 02:55 PM
Edited times CragStar LQ Suggestions & Feedback 1 03-08-2001 11:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:31 PM.

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
Open Source Consulting | Domain Registration