DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 17th July 2012
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,975
Default Barti asked about Linux filesystem commands on OpenBSD

In another thread:
Quote:
Originally Posted by barti View Post
What is the replacements for chattr or lsattr commands in Linux?
These are specific to the EXT2 or EXT3 filesystems, for managing extended file attributes.

These are Linux filesystems. While OpenBSD can mount them, to the best of my knowledge it ignores any extended attributes. If you have EXT2 or EXT3 filesystems on your drive, you may mount them with mount_ext2fs(8). If you need EXT2/3 tools, just install the e2fsprogs package -- it includes the lsattr and chattr programs for querying and manipulating extended attributes on EXT2/3 filesystems -- but these commands will not work on any other filesystems.

OpenBSD's native filesystem is FFS, and FFS uses file modes and file flags. File flags are similar to EXT2/3 extended file attributes. File modes and flags are changed with chmod(1) and chflags(1), and can be queried with ls(1).

Last edited by jggimi; 17th July 2012 at 04:48 PM. Reason: clarity
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Barti asked about OpenBSD startup/shutdown jggimi OpenBSD General 0 17th July 2012 04:17 PM
OpenBSD 4.6 - filesystem read-only after install MSA OpenBSD Installation and Upgrading 8 20th December 2009 01:56 AM
maybe frequently asked question, but always primordial for me. so I ask. guerrier-cachalot FreeBSD Ports and Packages 9 24th April 2009 12:04 PM
BSD UNIX Toolbox: 1000+ Commands for FreeBSD, OpenBSD and NetBSD anomie Book reviews 8 28th July 2008 09:32 PM
Best Filesystem thavinci FreeBSD General 25 29th May 2008 03:32 PM


All times are GMT. The time now is 05:29 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick