Welcome to Linux Knowledge Base and Tutorial
"The place where you learn linux"
Save the Children

 Create an AccountHome | Submit News | Your Account  

Tutorial Menu
Linux Tutorial Home
Table of Contents

· Introduction to Operating Systems
· Linux Basics
· Working with the System
· Shells and Utilities
· Editing Files
· Basic Administration
· The Operating System
· The X Windowing System
· The Computer Itself
· Networking
· System Monitoring
· Solving Problems
· Security
· Installing and Upgrading
· Linux and Windows

Glossary
MoreInfo
Man Pages
Linux Topics
Test Your Knowledge

Site Menu
Site Map
FAQ
Copyright Info
Terms of Use
Privacy Info
Disclaimer
WorkBoard
Thanks
Donations
Advertising
Masthead / Impressum
Your Account

Communication
Feedback
Forums
Private Messages
Surveys

Features
HOWTOs
News Archive
Submit News
Topics
User Articles
Web Links

Google
Google


The Web
linux-tutorial.info

Who's Online
There are currently, 64 guest(s) and 0 member(s) that are online.

You are an Anonymous user. You can register for free by clicking here

  

blkid




SYNOPSIS

       blkid ]...  [ -h ] [ [ -c cachefile ] -s savecachefile ] [
       -p ] [ -t token ]...  [ -v ] [ device ...  ]


DESCRIPTION

       The blkid program is the command-line interface to working
       with libuuid(3) library.  It can  determine  the  type  of
       content  (e.g. filesystem, swap) a block device holds, and
       also attributes (tokens, NAME=value pairs) from  the  con­
       tent metadata (e.g. LABEL or UUID fields).

       blkid  has  two  main forms of operation: either searching
       for a device with a specific NAME=value pair, or  display­
       ing NAME=value pairs for one or more devices.


OPTIONS

       -c     <cachefile>  Read from cachefile instead of reading
              from the default cache file /etc/blkid.tab.  If you
              want to start with a clean cache (i.e. don't report
              devices  previously  scanned  but  not  necessarily
              available at this time), specify /dev/null.

       -h     Display a usage message and exit.

       -p     Probe  all  available devices.  This is the default
              when displaying tokens.  When searching for a token
              normally  the  cache  file  is  used  to locate the
              device and only that device is  probed  (to  ensure
              cache coherency) and all devices are probed only if
              the token cannot be found in the cache.

       -s     tag tag is of the form NAME and the resulting token
              is  shown for each (specified) device that has such
              a tag.  It is  possible  to  specify  multiple  tag
              options.   If  no tag is specified, then all tokens
              are shown for all (specified) devices.  In order to
              just  refresh  the cache without showing any tokens
              use -s none with no other options.

       -t     token token is of the form NAME=value and that spe­
              cific  token  is searched for in the cache or among
              all visible  block  devices  and  additionally  any
              specified  devices.  If that token is not found, no
              output is shown.  Common values  for  NAME  include
              TYPE, LABEL, and UUID.

       -v     Display version number and exit.


RETURN VALUE

       The  UUID of the form 1b4e28ba-2fa1-11d2-883f-b9a761bde3fb
       (in printf(3) format "%08x-%04x-%04x-%04x-%012x") is  out­
              are recognized.


RETURN CODE

       If the specified token was found,  or  if  any  tags  were
       shown  from  (specified)  devices  0  is returned.  If the
       specified token was not found, or no  (specified)  devices
       could  be  identified return 2.  For usage or other errors
       return 4.


AUTHOR

       blkid was written by Andreas Dilger for libblkid.


AVAILABILITY

       blkid is part the e2fsprogs package since version 1.26 and
       is available from http://e2fsprogs.sourceforge.net.


SEE ALSO

       libblkid(3)

E2fsprogs version 1.34      July 2003                    BLKID(8)
  

There are several different ways to navigate the tutorial.


Login
Nickname

Password

Security Code
Security Code
Type Security Code


Don't have an account yet? You can create one. As a registered user you have some advantages like theme manager, comments configuration and post comments with your name.

Help if you can!


Amazon Wish List

Did You Know?
The Linux Tutorial can use your help.


Friends



Tell a Friend About Us

Bookmark and Share



Web site powered by PHP-Nuke

Is this information useful? At the very least you can help by spreading the word to your favorite newsgroups, mailing lists and forums.
All logos and trademarks in this site are property of their respective owner. The comments are property of their posters. Articles are the property of their respective owners. Unless otherwise stated in the body of the article, article content (C) 1994-2013 by James Mohr. All rights reserved. The stylized page/paper, as well as the terms "The Linux Tutorial", "The Linux Server Tutorial", "The Linux Knowledge Base and Tutorial" and "The place where you learn Linux" are service marks of James Mohr. All rights reserved.
The Linux Knowledge Base and Tutorial may contain links to sites on the Internet, which are owned and operated by third parties. The Linux Tutorial is not responsible for the content of any such third-party site. By viewing/utilizing this web site, you have agreed to our disclaimer, terms of use and privacy policy. Use of automated download software ("harvesters") such as wget, httrack, etc. causes the site to quickly exceed its bandwidth limitation and are therefore expressly prohibited. For more details on this, take a look here

PHP-Nuke Copyright © 2004 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 0.09 Seconds