Go4Expert

Go4Expert (http://www.go4expert.com/)
-   $1 Daily Competition (http://www.go4expert.com/contests/daily-competition/)
-   -   Linux Command | Jan. 15, 2010 (http://www.go4expert.com/contests/linux-command-jan-15-2010-t20662/)

pankaj.sea 14Jan2010 09:18

Linux Command | Jan. 15, 2010
 
Suppose Mr. Raju is trying to mount a hard drive partion in Fedora or Red Hat linux, by giving a simple command
Quote:

mount -t XXX /dev/sda1 /mnt
But every time he gets error that OS is unable to mount the file system, which belongs to a Windows system. User may force mount the drive. The drive is of Capacity 50GB!
So, what command should he use to force mount it!

shabbir 15Jan2010 15:17

Re: Linux Command | Jan. 15, 2010
 
Welcome to the forum

pankaj.sea 15Jan2010 17:09

Re: Linux Command | Jan. 15, 2010
 
Quote:

Originally Posted by shabbir (Post 63002)
Welcome to the forum

Why now?
:eek:

Mridula 15Jan2010 17:13

Re: Linux Command | Jan. 15, 2010
 
Is this?

mount -t xxx /dev/sda1 /mnt -o force

pankaj.sea 15Jan2010 17:16

Re: Linux Command | Jan. 15, 2010
 
Quote:

Originally Posted by Mridula (Post 63004)
Is this?

mount -t xxx /dev/sda1 /mnt -o force

Your command is incomplete!

Mridula 15Jan2010 17:57

Re: Linux Command | Jan. 15, 2010
 
Oh!! Ya, typo mistake !!

This should be fine now!!

mount -t xxx /dev/sda1 /mnt/sda1 -o force

pankaj.sea 15Jan2010 18:25

Re: Linux Command | Jan. 15, 2010
 
Quote:

Originally Posted by Mridula (Post 63006)
Oh!! Ya, typo mistake !!

This should be fine now!!

mount -t xxx /dev/sda1 /mnt/sda1 -o force

This is incorrect too!
you should mention file system! see the question and you'll get the exact file system's clue!
:crazy:

Mridula 15Jan2010 18:51

Re: Linux Command | Jan. 15, 2010
 
> sudo mount -t xxx /dev/sda1 /mnt/sda1 -o force

Mridula 15Jan2010 19:02

Re: Linux Command | Jan. 15, 2010
 
> sudo mount -t xxx /dev/sda1 /mnt/windows -o force

pankaj.sea 15Jan2010 19:09

Re: Linux Command | Jan. 15, 2010
 
Quote:

Originally Posted by Mridula (Post 63009)
> sudo mount -t xxx /dev/sda1 /mnt/windows -o force

Hey Mridula!
in place of guessing, focus on the command u r writing!
Think, which portion is for mentioning the File System of the disk!
Then make the necessary change and post!
Now, your every command's syntax is correct!
:D:D:D


All times are GMT +5.5. The time now is 00:41.