FreeBSD compatibility with Solaris UFS filesystem?


 
Thread Tools Search this Thread
Operating Systems BSD FreeBSD compatibility with Solaris UFS filesystem?
# 1  
Old 06-01-2009
FreeBSD compatibility with Solaris UFS filesystem?

Hi, I'm new to BSD and would like to create a dual-boot between Solaris Express Community Edition and FreeBSD.

I would just like to know if the Solaris UFS file system can be written to by BSD?

I know that BSD uses UFS2, but I'm hoping that it is backwards compatible with UFS1 provided that Sun haven't or BSD for that matter haven't put any proprietary extensions on the fs.....

Also since I have Debian Linux on my machine right now is it recommended to write to ext3 file system either? I know that ext2 is compatible and I've read that ext3 can be written to but then you don't take advantage of the journal?

Any advice would be great!!

I've tried another forum which told me to use the BSD mailing list, I tried the mailing list and it seems to be dead....?

This is my last chance before either making or breaking the system so I would be ever so grateful for any responses Smilie

Kind regards
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

How to increase the /var (UFS) filesystem and root disk under veritas control?

I need to increase the /var (UFS) filesystem and root disk under veritas control or root disk is encapsulated # df -k /var Filesystem kbytes used avail capacity Mounted on /dev/vx/dsk/var 13241195 12475897 674524 96% /var # fstyp /dev/vx/dsk/var ufs # pkginfo... (1 Reply)
Discussion started by: amity
1 Replies

2. Solaris

Deep checking Solaris ufs filesystem

I'm prompted to start this thread following my attempt to help on this thread here (see my posts). I was proposing the OP deep checked a Solaris ufs filesystem using: # fsck -o full <filesystem node> however this option does not appear to be valid on Solaris 10. I've used... (8 Replies)
Discussion started by: hicksd8
8 Replies

3. Solaris

unable to repair the / filesystem. Run fsck manually (fsck -F ufs /dev/rdsk/c1t0d0s0)

What can I fix this issue? I have ran below commands but everything is same.:confused: WARNING: Last shutdown is later than time on time-of-day chip: check date. The / file system (/dev/rdsk/c1t0d0s0) is being checked WARNING - unable to repair the / filesystem. Run fsck manually (fsck -F... (4 Replies)
Discussion started by: getrue
4 Replies

4. Solaris

How to increase or decrease inode number of the particular UFS filesystem

Hi Gurus I want to know the command & tips regarding, how to increase or decrease inode number of the particular ufs filesystem. Is it possible to do it in a live/production environment. Regards (3 Replies)
Discussion started by: girish.batra
3 Replies

5. Solaris

UFS filesystem mounted on 2 hosts question

I have two Unix (Solaris) hosts that are both attached to our SAN. They are both presented with the same luns. What I want to do is have the same UFS filesystem mounted on both hosts at the same time. What I am trying to accomplish is creating a zone that will reside on both hosts but only... (2 Replies)
Discussion started by: beaker457
2 Replies

6. Solaris

How can I mount a ufs filesystem on a solaris 10 sparc onto a Linux server

Hi there, I am trying to mount a SAN volume (which is mapped to solaris sparc) partitioned with ufs filesystem onto a linux (intel processor 64bit) server. *I have re-compiled the linux kernel t support ufs fstype with ro mount support. filesystem on solaris:... (3 Replies)
Discussion started by: ilan
3 Replies

7. UNIX for Dummies Questions & Answers

FreeBSD filesystem is full error by Noob

Hello, Max here, I have installed FreeBSD on a compaq Intel box an have filesystem problems. I am now on install number 3 and encounter the same error. This time after DL the ports list and DL a number of programs the DL stopped and I got an error message that the filesystem is full I am looking... (6 Replies)
Discussion started by: madMax8911
6 Replies

8. Solaris

How to create a 2 TB UFS filesystem?

Hi, I have a 2,1 TB RAID0 Array (3- 750GB discs). I have Solaris 10 x86 installed. When I try to create a volume on this drive I receive the following error: " WARNING: /pci@0/pci8086/..../sd@6,0 (sd7) disk capacity is too large for current cbd length " I assume I can not format... (5 Replies)
Discussion started by: narrok
5 Replies

9. UNIX for Dummies Questions & Answers

limit of files in the ufs filesystem

Hello ! Does anyone knows which de limit of files in the ufs filesystem in the Solaris 2.6 ?? Danke, Witt (2 Replies)
Discussion started by: witt
2 Replies
Login or Register to Ask a Question
BREAD(3)						   BSD Library Functions Manual 						  BREAD(3)

NAME
bread, bwrite -- read and write blocks of a UFS file system LIBRARY
UFS File System Access Library (libufs, -lufs) SYNOPSIS
#include <sys/param.h> #include <sys/mount.h> #include <ufs/ufs/ufsmount.h> #include <ufs/ufs/dinode.h> #include <ufs/ffs/fs.h> #include <libufs.h> ssize_t bread(struct uufsd *disk, ufs2_daddr_t blockno, void *data, size_t size); ssize_t bwrite(struct uufsd *disk, ufs2_daddr_t blockno, const void *data, size_t size); int berase(struct uufsd *disk, ufs2_daddr_t blockno, ufs2_daddr_t size); DESCRIPTION
The bread(), bwrite() and berase() functions provide a block read, write and erase API for libufs(3) consumers. They operate on a userland UFS disk structure, and perform the read and write at a given block address, which uses the current d_bsize value of the structure. RETURN VALUES
The bread() and bwrite() functions return the amount read or written, or -1 in case of any error, including short read. The berase() function returns non-zero on error. ERRORS
The function bread() may fail and set errno for any of the errors specified for the library functions ufs_disk_write(3) or pread(2). The function bwrite() may fail and set errno for any of the errors specified for the library function pwrite(2). The function berase() may fail and set errno for any of the errors specified for the library function ioctl(2). Additionally all three functions may follow the libufs(3) error methodologies in situations where the amount of data written is not equal to the amount requested, or in case of a device error. SEE ALSO
libufs(3), ufs_disk_write(3) HISTORY
These functions first appeared as part of libufs(3) in FreeBSD 5.0. AUTHORS
Juli Mallett <jmallett@FreeBSD.org> BSD
June 4, 2003 BSD