Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sun 26 Oct 2014, 03:26
All times are UTC - 4
 Forum index » House Training » Bugs ( Submit bugs )
3 TB (GPT), HD problem, impossible to identify a partition
Moderators: Flash, Ian, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 2 of 2 Posts_count   Goto page: Previous 1, 2
Author Message
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 7048
Location: Perth, Western Australia

PostPosted: Sun 26 May 2013, 04:08    Post_subject:  

npierce, Karl Godt,
Thanks very much, fixes applied.

Blog:
http://bkhome.org/blog2/?viewDetailed=00265

_________________
http://bkhome.org/news/
Back to top
View user's profile Send_private_message Visit_website 
npierce

Joined: 28 Dec 2009
Posts: 858

PostPosted: Sun 26 May 2013, 08:38    Post_subject:  

You're very welcome.
Back to top
View user's profile Send_private_message 
Karl Godt


Joined: 20 Jun 2010
Posts: 3972
Location: Kiel,Germany

PostPosted: Sun 26 May 2013, 09:55    Post_subject:  

npierce, I had no solution that time as the output formatted looks like
Code:
- - - - disktype /dev/sda
--- /dev/sda
Block device, size 2.729 TiB (3000592982016 bytes)
DOS/MBR partition map
Partition 1: 2.000 TiB (2199023255040 bytes, 4294967295 sectors from 1)
  Type 0xEE (EFI GPT protective)
GPT partition map, 128 entries
  Disk size 2.729 TiB (3000592982016 bytes, 5860533168 sectors)
  Disk GUID B50762CF-A490-D244-B71B-4F3B7566A89B
Partition 1: 2.681 TiB (2948162650112 bytes, 5758130176 sectors from 2048)
  Type Basic Data (GUID A2A0D0EB-E5B9-3344-87C0-68B6B72699C7)
  Partition Name ""
  Partition GUID D1F83576-69C7-D34D-8C15-D32626745ED6
  Ext4 file system
    Volume name "SAYAN_DISK"
    UUID 652BDBEA-CB51-492F-B4DD-0EA0517071D6 (DCE, v4)
    Last mounted at "/home"
    Volume size 2.681 TiB (2948162650112 bytes, 719766272 blocks of 4 KiB)

and all the other "Partition" lines except for the "Partition 1:" line don't start with ^Partition .

But the loop seems to eliminate the preceding spaces, does not even squeezes them to one space .

Learned something new Smile

Also the grep -E ..? option is something new to me. Was wondering why such " -e, --regexp=PATTERN use PATTERN for matching" did not work for me many times . Now I am able to understand
Quote:
In basic regular expressions the meta-characters ‘?’, ‘+’, ‘{’, ‘|’, ‘(’, and ‘)’ lose their special meaning; instead use the backslashed versions ‘\?’, ‘\+’, ‘\{’, ‘\|’, ‘\(’, and ‘\)’.

http://www.gnu.org/software/grep/manual/html_node/Basic-vs-Extended.html#Basic-vs-Extended
much better .
Back to top
View user's profile Send_private_message Visit_website 
Display_posts:   Sort by:   
Page 2 of 2 Posts_count   Goto page: Previous 1, 2
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » House Training » Bugs ( Submit bugs )
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0548s ][ Queries: 13 (0.0133s) ][ GZIP on ]