Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 09-30-2011, 08:05 PM   #1
LQ Newbie
Registered: May 2009
Location: Italy
Distribution: LUbuntu 14.04 x86_64
Posts: 21

Rep: Reputation: 1
Little question about -o loop option

Hi, I've got a little question about the -o loop option, as the title says.

I had to delete all the contents of my external HD, so I did fdisk -l first of all for discover where my HD was (/dev/sdb1 NTFS) and then I've had to mount that so I typed mount -o loop,rw -t ntfs-3g /dev/sdb1 /media/hd0 and then rm -rf /media/hd0/*.

Now I know that -o loop is applied only for seeing files as block device (thanks to but that (useless) option worked the same for me, so my question is: how does mount work with -o loop option? Does the mount command recognize that -o loop is useless when using device files?

Sorry for my "noob-ness" and my bad English.
Old 09-30-2011, 08:07 PM   #2
Registered: Oct 2009
Distribution: Hackintosh, SlackWare
Posts: 267

Rep: Reputation: 30
Yes. AFAIK mount recognizes and safely ignores redundant or unapplicable parameters.
1 members found this post helpful.
Old 09-30-2011, 08:19 PM   #3
LQ Newbie
Registered: May 2009
Location: Italy
Distribution: LUbuntu 14.04 x86_64
Posts: 21

Original Poster
Rep: Reputation: 1
Ok thanks.


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
for loop question s_linux Programming 4 09-07-2011 07:26 PM
[SOLVED] Is getent a better option than parsing the /etc/passwd file through while loop vinaytp Linux - Newbie 15 07-14-2010 11:18 AM
Explanation of the "loop" option when mounting CD image files uncle-c Linux - Newbie 5 12-15-2007 12:16 PM
while loop question IceOner Programming 6 10-26-2007 09:23 AM
No repeat/loop option in mplayer? VinTSS Linux - Newbie 3 01-15-2004 06:33 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:33 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