Re: filesystems?

Previous thread: sd0/umass0 Hard Drive, wake up? by Aaron Hsu on Sunday, September 2, 2007 - 5:02 pm. (1 message)

Next thread: How do I configure Cyclades Z serial ports with OpenBSD? by Don Jackson on Sunday, September 2, 2007 - 10:21 pm. (5 messages)
From: stan
Subject: filesystems?
Date: Sunday, September 2, 2007 - 5:51 pm

I'm trying to decide what filesystem to use on a USB drive. I'd like to be
able to access the unit from OpenBSD, FreeBSD, Linux, and perhaps Windows.

What is the intersection of the sets of filesystems supported by these
various OS's?

-- 
I'm sorry, no one here has any intentions of helping you with anything. 
I am the manager of all of Customer Service."

From: The One
Date: Sunday, September 2, 2007 - 6:18 pm

FAT32.


From: Martin Schröder
Date: Monday, September 3, 2007 - 9:17 am

And everyone can be compiled to read NTFS; Linux can even write to it.

Best
   Martin

From: Jona Joachim
Date: Tuesday, September 4, 2007 - 3:53 am

On Mon, 3 Sep 2007 18:17:44 +0200

FreeBSD can also write NTFS using the ntfs-3g driver together with
fusefs.


Jona

--
"I am chaos. I am the substance from which your artists and scientists
build rhythms. I am the spirit with which your children and clowns
laugh in happy anarchy. I am chaos. I am alive, and tell you that you
are free." Eris, Goddess Of Chaos, Discord & Confusion

From: J.C. Roberts
Date: Thursday, September 6, 2007 - 7:11 am

Actually, this is tenative at best. Though some have had success both 
reading from and writing to various NTFS versions, it's not really a 
safe thing to do. It's still an undocumented file system, and many 
typical operations fail disastrously. This week I wasted two different 
XP installations by attempting to resize the NTFS partition (shrink) 
with two different open source tools (PartitionLogic and GParted).

(mumble mumble mumble about the crap friends ask me to do on an os that 
I don't run.)

jcr

From: Jona Joachim
Date: Thursday, September 6, 2007 - 9:45 am

On Thu, 6 Sep 2007 07:11:47 -0700

I never really used it, I think I just tested it once.
On their site they say: "The driver is in STABLE status since February
2007, after twelve years of development" so I thought it was ok.
I had some terrible crashes with sshfs on FreeBSD. I think the FreeBSD
fuse kernel module is a bit flaky. I never tried it on Linux.

Best regards,
Jona

From: Darren Spruell
Date: Thursday, September 6, 2007 - 10:47 am

How stable a driver is doesn't indicate the actual level of success
writing {safely,properly,sanely} to a problematic filesystem.like
NTFS. It may successfully corrupt data without crashing or throwing
errors at all.

DS

From: Peter N. M. Hansteen
Date: Sunday, September 2, 2007 - 10:15 pm

Once Windows is in the picture, you will need to go with a Microsoft
file system.  Most of these drives anyway come preformatted as FAT32,
so it's quite possible you don't even have to make an active choice.

On the other hand, on some units long filenames ended up with MS-DOS
style 8.3 file names until I recreated the file system on them (newfs
-t msdos).  Fortunately my new 4GB unit did not have that problem.

-- 
Peter N. M. Hansteen, member of the first RFC 1149 implementation team
http://bsdly.blogspot.com/ http://www.datadok.no/ http://www.nuug.no/
"Remember to set the evil bit on all malicious network traffic"
delilah spamd[29949]: 85.152.224.147: disconnected after 42673 seconds.

From: Steve Shockley
Date: Monday, September 3, 2007 - 4:48 pm

Also, it's worth noting that Vista and I think XP SP2 won't create a 
FAT32 partition above 32gb.  If you create a >32gb partition with other 
tools the large partition will work just fine under Windows though.

From: Ihar Hrachyshka
Date: Sunday, September 2, 2007 - 10:46 pm

Also you can use ext2(3) filesystem for this purpose: BSD works quite
OK with it (though with no journal support), Linux - ow, do you think
it's not?:) - and there are some tools in the Internet to be able to
read ext2 from Windows. Don't know about writing: you need to
investigate it by yourself.

From: Tonnerre LOMBARD
Date: Monday, September 3, 2007 - 5:58 am

Salut,


The same goes for ffs/ufs

				Tonnerre

[demime 1.01d removed an attachment of type application/pgp-signature]

From: Ihar Hrachyshka
Date: Monday, September 3, 2007 - 6:10 am

Ow, please provide me with the link to Windows UFS software. I'll be
glad to see it by myself.

From: Jona Joachim
Date: Monday, September 3, 2007 - 7:10 am

On Mon, 3 Sep 2007 16:10:52 +0300

https://sourceforge.net/projects/ffsdrv/


-- 
"I am chaos. I am the substance from which your artists and scientists
build rhythms. I am the spirit with which your children and clowns
laugh in happy anarchy. I am chaos. I am alive, and tell you that you
are free." Eris, Goddess Of Chaos, Discord & Confusion

From: Eric Elena
Date: Monday, September 3, 2007 - 8:10 am

But linux is not abble to write to ufs/ffs file system.
http://en.wikipedia.org/wiki/Berkeley_Fast_File_System#Implementations
I think fat32 is a good choice: you have nothing to install.

From: Tonnerre LOMBARD
Date: Monday, September 3, 2007 - 3:23 pm

Salut,


Did you ever have to debug a deep directory structure where something
caused all directory to become files? On a 500G disk? Fun.

				Tonnerre

[demime 1.01d removed an attachment of type application/pgp-signature]

From: Cabillot Julien
Date: Monday, September 3, 2007 - 3:44 pm

Ho so I'm not the only one :)



-- 
Julien Cabillot

From: Douglas A. Tutty
Date: Monday, September 3, 2007 - 4:22 pm

I would suggest that the OP be very specific with what is needed.  What
size of filesystem?  Which operating systems need to read only and which
to read and write.  Given how flexible Linux and OBSD are, I would guess
that the limit will be what can windows do.  I don't know since I only
used windows 3.1 for some games when I wasn't running OS/2.  For 7 years
its been Debian and now I'm transitioning to OBSD.  I never have to
interoperate with windows users.

Doug.

From: stan
Date: Monday, September 3, 2007 - 7:48 pm

OK, let's eliminate Windows from the requiremant. Now we have OpenBSD,
Linux, and FreeBSD in order of importance. All 3 need read/write access. I
will be using this to move data, and I want to be able to keep various
places in sync, using rsync. So modification date, and file name retention
are important.

Where does that lead us?

-- 
I'm sorry, no one here has any intentions of helping you with anything. 
I am the manager of all of Customer Service."

From: Hannah Schroeter
Date: Tuesday, September 4, 2007 - 4:20 am

Hi!


For me, ext2 works fine, on a USB hard drive.

Initialized it under OpenBSD:

First partitioned it into 2 primary partitions, one OpenBSD, one ext2.

Edited the disklabel accordingly (have the ext2 on slice i). newfs'ed (a
as ffs, mostly for backup purposes for OpenBSD boxen only, i.e. no
respect for other OS's needs; i as ext2, using mke2fs from the e2fsprogs
port/package).

At least on OpenBSD and on Linux it has worked fine up to now, both
reading and writing on both platforms.

Kind regards,

Hannah.

From: Eric Elena
Date: Tuesday, September 4, 2007 - 4:10 am

No I didn't. Is it so fun? :)
I didn't say fat32 is a good FS but IMHO it's a FS with less constraints
than other ones. Imagine your network is down or you don't remember the
name of the driver and you need to access to the data stored on a FFS
disk from a new win box. I would say it's also fun :)
To avoid this problem, you can create a small fat partition, store all
the drivers (ext, ufs, ...) on it, and create multiple ufs/ext/..
partitions to prevent huge data loss.
But it depends on the use you will have of your disk.

From: Tonnerre LOMBARD
Date: Tuesday, September 4, 2007 - 3:57 pm

Salut,


Oh yes. By the way, I must say that for additional fun, the directory
names were A, B, C, ..., Y, Z. Gives you quite something to search for.

				Tonnerre

[demime 1.01d removed an attachment of type application/pgp-signature]

From: Matthew Szudzik
Date: Monday, September 3, 2007 - 6:38 am

By the way, if you want to use OpenBSD to format a USB drive as FAT32, 
then edit the MBR partition table as described at

 http://marc.info/?l=openbsd-misc&m=118379731620389
 
and run newfs_msdos

 # newfs_msdos -F 32 -u 63 /dev/rsd0i

(note, this line assumes that the drive is device sd0)

From: Shawn K. Quinn
Date: Saturday, September 8, 2007 - 6:16 am

There do exist ext2fs drivers for Windows; obviously anything which
boots the kernel, Linux, can read and write ext2fs. There may well exist
UFS drivers for Windows but I haven't looked. (I only use OpenBSD on my
firewall/router.)

If you can live with the limitations of FAT32, then you may want to use
that; fragmentation really isn't as much of an issue if it's a solid
state device (you don't say). I personally find it ludicrous not to be
able to use a filename on a Unix-like OS that wasn't legal in Microsoft
MS-DOS 1.0 (e.g. filenames with colons).

-- 
Shawn K. Quinn <skquinn@speakeasy.net>

From: Andrea Ferraresi
Date: Monday, September 10, 2007 - 1:33 pm

I think that the best choice is FAT32 it will works out-of-the-box on
all systems
a usb stick isn't a device that must have some performance IMHO



-- 
. ``   Registered Linux user #388877 and Machine #289399
  `-   WebMaster http://www.ls-lug.org

Previous thread: sd0/umass0 Hard Drive, wake up? by Aaron Hsu on Sunday, September 2, 2007 - 5:02 pm. (1 message)

Next thread: How do I configure Cyclades Z serial ports with OpenBSD? by Don Jackson on Sunday, September 2, 2007 - 10:21 pm. (5 messages)