From: Dave Chinner <david@fromorbit.com>
To: Prithvi Rathore <prithvi_rathore@outlook.com>
Cc: "xfs@oss.sgi.com" <xfs@oss.sgi.com>
Subject: Re: [RFD]: Help in setting up XFS
Date: Mon, 18 Aug 2014 23:11:48 +1000 [thread overview]
Message-ID: <20140818131148.GN20518@dastard> (raw)
In-Reply-To: <BLU181-W782ECB29BAB77090E0292A9CD40@phx.gbl>
On Mon, Aug 18, 2014 at 03:00:31PM +0530, Prithvi Rathore wrote:
> Hi Dave,
> I really appreciate you help in this matter.
>
> > Date: Mon, 18 Aug 2014 17:03:12 +1000
> > From: david@fromorbit.com
> > To: prithvi_rathore@outlook.com
> > CC: xfs@oss.sgi.com
> > Subject: Re: [RFD]: Help in setting up XFS
> >
> > On Mon, Aug 18, 2014 at 10:22:37AM +0530, Prithvi Rathore wrote:
> > > Hi,
> > > As the subject states, I would like to setup and use XFS on an external USB drive. I am currently using Ubuntu 14.04 on MacBook Air 2013.
> > > My understanding is:
> > >
> > > 1) I will have to install the packages
> > > $ sudo apt-get install xfsprogs
> > > $ sudo apt-get install xfsdump
> > >
> > > 2) I will have to create the filesystem for the USB drive
> > > $ mkfs.xfs -f dev/sdab1
> > > -f option needed to overwrite any existing filesytem
>
> > And then mount it appropriately and it will be ready to use.
> > Nothing more.
>
> About the part where you say mount it properly, I just wanted to check if this is correct.
>
> 1)Create a mount point.
> $ mkdir /mnt/dat1
>
> 2)Mount the drive.
> $ mount -t xfs /dev/sdc1 /mnt/dat1
mount will work out that it contains XFS and do the right thing
automatically. i.e. this should work just fine:
$ mount /dev/sdc1 /mnt/dat1
Look in dmesg to see what happens at the kernel level when you run
the command, and compare the difference with and without the "-t
xfs"....
> And i will have to do this every time I want to use the pendrive
Only the mount command. the mount point won't go away unless you
remove it.
Cheers,
Dave.
--
Dave Chinner
david@fromorbit.com
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
prev parent reply other threads:[~2014-08-18 13:12 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-18 4:52 [RFD]: Help in setting up XFS Prithvi Rathore
2014-08-18 7:03 ` Dave Chinner
2014-08-18 9:30 ` Prithvi Rathore
2014-08-18 10:25 ` Carlos E. R.
2014-08-18 13:20 ` Dave Chinner
2014-08-18 14:47 ` Carlos E. R.
2014-08-19 2:25 ` Dave Chinner
2014-08-18 13:11 ` Dave Chinner [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140818131148.GN20518@dastard \
--to=david@fromorbit.com \
--cc=prithvi_rathore@outlook.com \
--cc=xfs@oss.sgi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox