Lsattr

del.icio.us del.icio.us
Digg Digg
Furl Furl
Reddit Reddit
Rojo Rojo
Add to OnlyWire


lsattr is a command line programs for listing the attributes of on a Linux second extended file system (ext2). [1]

Attributes

Some attributes include:

  • don't update atime (A)
  • synchronous updates (S)
  • synchronous directory updates (D)
  • append only (a)
  • compressed (c)
  • no dump (d)
  • immutable (i)
  • data journalling (j)
  • secure deletion (s)
  • top of directory hierarchy (T)
  • no tail-merging (t)
  • undeletable (u).
Details of the attributes can be found in the chattr man page [2]

Example output

Example output of lsattr -El hdisk10 [3]

# lsattr -El hdisk10
clr_q         yes                Device CLEARS its Queue on error True
location                         Location Label                   True
lun_id        0x3e000000000000   Logical Unit Number ID           False
lun_reset_spt yes                FC Forced Open LUN               True
max_transfer  0x40000            Maximum TRANSFER Size            True
node_name     0x5006048ad52e3f66 FC Node Name                     False
pvid          none               Physical volume identifier       False
q_err         no                 Use QERR bit                     True
q_type        simple             Queue TYPE                       True
queue_depth   16                 Queue DEPTH                      True
reserve_lock  yes                Reserve Device on open           True
rw_timeout    40                 READ/WRITE time out value        True
scsi_id       0xd40018           SCSI ID                          False
start_timeout 180                START UNIT time out value        True
ww_name       0x5006048ad52e3f66 FC World Wide Name               False

See Also

References

  1. ^ lsattr man
  2. ^ chattr man
  3. ^ Example output of lsattr

This article is from Wikipedia. All text is available under the terms of the GNU Free Documentation License.


Giant Panda

Mercedes Car
James Bond Guide
This site monitored by SitePinger.net