public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Reformat/repartition USB flash drive to ext2/3?
@ 2006-11-19  5:56 Kevin O'Gorman
  2006-11-19  6:14 ` Ryan Tandy
  0 siblings, 1 reply; 3+ messages in thread
From: Kevin O'Gorman @ 2006-11-19  5:56 UTC (permalink / raw
  To: gentoo-user

I am annoyed with using vfat on my USB flash drives because I cannot
get proper permissions and ownership.  Not for the security (meaningless
on a drive that easy to steal, unless encrypted), but annoying anyway.

Is there any technical reason I should not repartition it as something else
-- ext3 or xfs, say -- and allow executables and such?

++ kevin

-- 
Kevin O'Gorman, PhD
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] Reformat/repartition USB flash drive to ext2/3?
  2006-11-19  5:56 [gentoo-user] Reformat/repartition USB flash drive to ext2/3? Kevin O'Gorman
@ 2006-11-19  6:14 ` Ryan Tandy
  2006-11-19  7:41   ` Richard Fish
  0 siblings, 1 reply; 3+ messages in thread
From: Ryan Tandy @ 2006-11-19  6:14 UTC (permalink / raw
  To: gentoo-user

Kevin O'Gorman wrote:
> I am annoyed with using vfat on my USB flash drives because I cannot
> get proper permissions and ownership.  Not for the security (meaningless
> on a drive that easy to steal, unless encrypted), but annoying anyway.
> 
> Is there any technical reason I should not repartition it as something else
> -- ext3 or xfs, say -- and allow executables and such?
> 
> ++ kevin
> 

Most people format their flash drives as vfat for interoperability, 
since all the major operating systems can read from and write to vfat 
filesystems.  If you know you'll only be plugging it into Linux systems, 
then go right ahead.  As far as ownership goes, remember that [ug]ids 
are stored numerically on the device, so a file that's owned by your 
user on your system may well be owned by (random example) apache on 
someone else's.

I seem to remember reading somewhere that one shouldn't use a 
journalling file system on flash-based devices such as USB drives (i.e. 
you should use ext2 rather than ext3), but I can't find the reference 
right now.  Can anyone clarify this for me?
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] Reformat/repartition USB flash drive to ext2/3?
  2006-11-19  6:14 ` Ryan Tandy
@ 2006-11-19  7:41   ` Richard Fish
  0 siblings, 0 replies; 3+ messages in thread
From: Richard Fish @ 2006-11-19  7:41 UTC (permalink / raw
  To: gentoo-user

On 11/18/06, Ryan Tandy <tarpman@tarpman.homelinux.com> wrote:
> I seem to remember reading somewhere that one shouldn't use a
> journalling file system on flash-based devices such as USB drives (i.e.
> you should use ext2 rather than ext3), but I can't find the reference
> right now.  Can anyone clarify this for me?

That is my understanding as well, because flash devices are only good
for so many writes before they fail, and journalling filesystems write
consistently to the same area for every metadata update.  So I would
go with ext2, and make sure to mount it with the noatime option.

-Richard
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-11-19  7:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-19  5:56 [gentoo-user] Reformat/repartition USB flash drive to ext2/3? Kevin O'Gorman
2006-11-19  6:14 ` Ryan Tandy
2006-11-19  7:41   ` Richard Fish

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox