03-30-2004
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
How do I get a partition magic disk or a disk to create a non-DOS partition?
:*: c0ldzer0 :*: (4 Replies)
Discussion started by: c0ldzer0
4 Replies
2. Solaris
Have a solaris x86 running solaris 9.
Root disk - logical - mirrored.
I added 2 more disks today - and I have mirrored them using array configuration utility.
I did a reconfiguration boot - and now I can see the logical disk using format:
I then partitioned this the way I wanted (I hope)... (4 Replies)
Discussion started by: frustrated1
4 Replies
3. Solaris
I have 3 disks to partition in following file system.
c1t1d0 = 72gb
/prod1
/prod2
/prod3
/prod4
/prod5
I am first time using "format" command to do this. How can i name with specified size.
-Adeel (1 Reply)
Discussion started by: deal732
1 Replies
4. UNIX for Advanced & Expert Users
hi guys,
I've got a strange issue, may be one of you has experienced this.
SunOS 5.10 Generic_118833-33 sun4u sparc SUNW,Sun-Fire-V440
everything is mirrored.
My issue is that I have a umpty directory but seems to have data on. Let me show you
# df -h /data
Filesystem size used... (10 Replies)
Discussion started by: moustik
10 Replies
5. Filesystems, Disks and Memory
Hi,
Can I partition disk in use or would I damage the file store on it?
Regards
Mehrdad (1 Reply)
Discussion started by: mehrdad68
1 Replies
6. Solaris
Hi,
The disks of my servers are getting full and I need to move the /export/home partition on to a new set of disks. I already have 2 mirrored disks and have added 2 more and mirrored them after creating the filesystem on them.
Do I just need to edit the /etc/vfstab and point the /export/home... (1 Reply)
Discussion started by: run_time_error
1 Replies
7. UNIX for Advanced & Expert Users
I want to backup my partitions by shrinking it my issue is like
I want to create a new disk copy from only the used blocks I my current image.
How would I redirect the output of resize2fs to new disk and dd the current
partition so that I can boot my new image without issues and also without... (3 Replies)
Discussion started by: amol28kulkarni
3 Replies
8. Red Hat
I want to skip the first cylinder (first 1 MB infact) while I partition my disk using fdisk as it is required that the disk partition to be used (for Oracle RAC Installation) must skip the first 1Mb to avoid overwriting the disk VTOC. The way I am using is:
Command (m for help): n
Command... (2 Replies)
Discussion started by: jpsingh
2 Replies
9. Solaris
Hi Guys,
when performing a disk partition, can any file system other than root be giving to slice 0 or must slice0 hold only root? I am confused about this.
Any clarification will be greatly appreciated.
Thanks Guys (4 Replies)
Discussion started by: cjashu
4 Replies
10. Red Hat
Hello,
I am a new member of the forum.
I need an idea on how to partition the disk.
My situation is as follows:
I have two 3TB disks ognuno.In 6TB total then, but I have to do to force a RAID 1 so my space will be 3TB. I'll have to force install RedHat 5.8 and liquids is to be taken in... (4 Replies)
Discussion started by: Joaquin
4 Replies
LEARN ABOUT PHP
datetimeinterface.format
DATETIMEINTERFACE.FORMAT(3) 1 DATETIMEINTERFACE.FORMAT(3)
DateTime::format - Returns date formatted according to given format
Object oriented style
SYNOPSIS
public string DateTime::format (string $format)
DESCRIPTION
string DateTimeImmutable::format (string $format) string DateTimeInterface::format (string $format)
Procedural style
string date_format (DateTimeInterface $object, string $format)
Returns date formatted according to given format.
PARAMETERS
o $object
-Procedural style only: A DateTime object returned by date_create(3)
o $format
- Format accepted by date(3).
RETURN VALUES
Returns the formatted date string on success or FALSE on failure.
EXAMPLES
Example #1
DateTimeInterface.format(3) example
Object oriented style
<?php
$date = new DateTime('2000-01-01');
echo $date->format('Y-m-d H:i:s');
?>
Procedural style
<?php
$date = date_create('2000-01-01');
echo date_format($date, 'Y-m-d H:i:s');
?>
The above example will output:
2000-01-01 00:00:00
NOTES
This method does not use locales. All output is in English.
SEE ALSO
date(3).
PHP Documentation Group DATETIMEINTERFACE.FORMAT(3)