TL;DR: # mkntfs --label media1 --fast /dev/sdb  /dev/sdb is entire device, not just one partition. Refusing to make a filesystem here!  Why does the script &quot;refuse to make a filesystem on the entire device&quot;? In detail: What are the possible downsides if the whole disk is formatted as NTFS? I.e. not one single big partition taking up all the space, but the disk itself. I imagine that as a system disk (i.e. for running Windows) it would not work, because there would be no space for a boot loader. (Or would be? Does formatting the whole disk also overwrite the MBR area?) But what if the disk is used only as a data storage? (This is the part that is more relevant to me at the moment.) Would all the OS-es that support NTFS (Windows/Linux/...) still be able to correctly read and write files? Would all other devices handle it correctly? (E.g. HDD connected to a TV via USB.) Or is there any chance that this could cause irreversible damage to the disk? (This is what is preventing me from simply trying it out.) Remarks:  I know that I could force formatting the whole drive with the mkntfs -F flag, so the question is not how to do it, but whether I should or not?  Why would I want to do that in the first place, you may ask? The answer is, why waste space on the partition metadata, if I'm going to use the whole disk as data storage anyway? (But I'm interested in the system-disk POW too, just for broadening my perspective.)
I have a Transcend Storejet external USB hard disk. This is not an SSD, but a mechanical disk with rotating plates. I have formatted the whole disk, without partitioning, as NTFS. I have used mkntfs tool under Linux.  When plugged into a Linux machine, the system sees a drive with two partitions (/dev/sdc /dev/sdc1 /dev/sdc2). However, as I know it is a partitionless disk, I can mount the whole device (mount -t ntfs /dev/sdc /mnt) and it works without any problems.  When plugged into a MS Windows XP machine, the systems sees a disk with two unformatted partitions, and it does not assign a drive letter to either the whole disk, nor to any of the partitions.  Would anyone know how to get MS Windows to mount my disk as a NTFS superfloppy?  I have already tried removing old USB mounting points and residual devices using 'DriveCleanup'. It did not help.  By the way, I also have an external Kingston USB SSD, also formatted as NTFS superfloppy, without partitioning. However, this one is recognized and mounted normally by MS Windows.
How do I handle null or optional DLL struct parameters Solve $p_4(x) = x^4 −(2m + 4)x^2 + (m−2)^2 $such that $p_4$ is a product of two non-constant integer-coeficient polynomials I'm having trouble getting the starting idea for a problem I've been presented with:  I need to find values for m (integer) such that the following polynomial     $p_4(x) = x^4 −(2m + 4)x^2 + (m−2)^2$; $m$ is integer   can be described as the product of two non-constant integer-coeficient polynomials.  Any help/pointers/tips on how to go about this are greatly appreciated!  Edit: I meant polynomials with integer coeficients, but for some reason typed positive. Everything I have read says that you do not need to soak lentils like you would beans.  Unfortunately the last several times I have cooked lentils they have seemed a little chalky.    Should I be soaking my lentils before I cook them? Inequality with Binomial distribution Let $n$ and $1\leq k \leq n$ be natural numbers. Prove the inequality     $$\sum_{i=k}^n \binom{n}{i}\bigg(\frac{k}{n+1}\bigg)^i\bigg(1-\frac{k}{n+1}\bigg)^{n-i} \leq 1 - \frac{1}{e} $$  Equivalently, if $X\sim$ Bin($n$,$\frac{k}{n+1}$), prove that $\mathbb{P}[X\geq k] \leq 1 - \frac{1}{e}$.   My attempt: It may be helpful to show that the LHS tends to $1-\frac{1}{e}$ as $n \to \infty$ (already did that) and that the LHS is an increasing function on $n$ (have not done that). Say there are $m+n$ elements split into two groups ($m$ and $n$). The variance of the first group is $\sigma_m^2$ and the variance of the second group is $\sigma^2_n$. The elements themselves are assumed to be unknown but I know the means $\mu_m$ and $\mu_n$.  Is there a way to calculate the combined variance $\sigma^2_{(m+n)}$?   The variance doesn't have to be unbiased so denominator is $(m+n)$ and not $(m+n-1)$. In C# check that filename is *possibly* valid (not that it exists) Is there a method in the System.IO namespace that checks the validity of a filename?  For example, C:\foo\bar would validate and :"~-* would not  Or a little trickier, X:\foo\bar would validate is there is an X: drive on the system, but wouldn't otherwise.  I suppose I could write such a method myself, but I'm more interested in a built-in one. xUbuntu Default desktop Icons do not display? Even though I have the default icons set to display in Settings, they do not display. See the image below. Ideas???? I am not sure which conjunction to use in the following context:        I know about programming but I have a little bit of confusion in Java programming.   I know about programming although I have a little bit of confusion in programming.    I know about programming however I have a little bit of confusion in Java programming. I would like to do two things   Increase the size of inmargin area (i.e., customize inner sidebar so that more contents could fit there) Reduce the empty space between the title of block environment and the slide edge (from the example below, the title of block has too much of wasted space to its left which could be used to create more readable sentences)     MWE  \documentclass[xcolor={x11names}]{beamer}  \usecolortheme{structure} \useinnertheme{rectangles} \useinnertheme{inmargin}  \usecolortheme{crane}  \usefonttheme{structurebold}   \usepackage{fontspec}  \usepackage{calc}  \usepackage[inline]{enumitem} % Description list defaults      % To change font     \newcommand{\descriptionfont}{\fontencoding{T1} \fontfamily{bch} \selectfont}      % Label indentation     \newcommand{\descLabOffset}{\widthof{\hspace{2.6mm}}}      % Left of description aligned with the left margin     \newcommand{\descLeftLabMarInd}{0mm - \descLabOffset}      % Left of description aligned with \parindent     \newcommand{\descLeftLabParInd}{\parindent - \descLabOffset}      % Set the list options     \setlist[description, 1]{font=\descriptionfont, leftmargin=*, labelsep=3mm, labelindent=\descLeftLabMarInd, align=left}  \begin{document}   \begin{frame}{Induction Motors}      \begin{block}{Why is induction motor very common?}          Induction motors are very practical for the following reasons          \begin{description}             \item[Rigid] Rigid             \item[Cheap] Cheap             \item[Low Maintenance] Low Maintenance             \item[Self-Starting] Self-starting             \item[No Excitation Needed] No Excitation Needed         \end{description}      \end{block}  \end{frame}  \end{document} What's the difference between "established" and "founded" In this sentence: "CARE was ...... in 1945 to help people after World War II."    A. founded  B. built C. established D. constructed    The answer is C. But why don't we use "founded" in this case, I think they have the same meaning. Can you help me to give a reason for that? Using ffmpeg to cut up video Python - Convert string representation of date to ISO 8601 Removing all fraction symbols like “¼” and “½” from a string Prove that the graph is connected I was wondering if someone can help me understand how prove that this graph is connected.  Given a graph with n vertices, prove that if the degree of each vertex is at least $(n − 1)/2$ then the graph is connected.  So far I know that about connected graphs:  An undirected graph is called connected if there is a path between every pair of distinct vertices of the graph  The distance between two vertices in a graph is the length of the shortest path between them.  The diameter of a graph is the distance between the two vertices that are farthest apart. I need to remove every line that has a value of 2 or less in the 8th field (column).   My data looks like this:  12-31   Airport 189 379 41  49.70946503 -124.91377258   2   2880    30.8 01-01   AlberniElementary   165 331 16  49.26100922 -124.80662537   4   5760    26.1 01-09   BamfieldMarine  161 323 23  48.83490372 -125.13572693   2   2875    27.4 01-10   BamfieldMarine  161 323 23  48.83490372 -125.13572693   3   3068    38.6   I understand that using awk I can strip off the values desired and print them to another file, and I understand that sed would edit the current file. In either case, I need to retain the original file.   Note: Please provide thorough explanations with your solutions. It is not suffice to just write the command, please annotate suggestions.   Further note: The data has a header line, so most likely solution will need to      awk 'FNR >1'   I suppose? I've a Skype interview for PhD application (it will make me miss  today.) I've been asked, in advance, to prepare a short presentation and then there would be some discussion with the panel (I guess.) I expect that they will ask if I have some questions so, I'm wondering what are the best (type of) questions one might consider? SQL Services Wont Start After Removing TLS Which characters are valid in CSS class names/selectors? What characters/symbols are allowed within the CSS class selectors? I know that the following characters are invalid, but what characters are valid?  ~ ! @ $ % ^ &amp; * ( ) + = , . / ' ; : " ? &gt; &lt; [ ] \ { } | ` # Power failure during upgrade During upgrade from 12.04 to 12.10 there was a power failure.  computer boots to desktop but without tools and menus to navigate.  files that can be open cannot be closed.  sidebar menu does not exist.  there is no function of the DVD drive, the USB drive nor the internet.  Possible to open GRUB but I am not familiar with it's function.  Please help. Should I use the first or last bits from a SHA-256 hash? I have the need for a hexadecimal token that is smaller than the normal length of the hexadecimal representation of a  hash.  Should I take the first bits or the last bits? Which of them contain the most entropy?